docs: update readme

This commit is contained in:
Eric Bower 2022-07-13 23:40:10 -04:00
parent 23e186d46c
commit d53ceba7ee
No known key found for this signature in database
GPG key ID: 7A51A47D76D3FD02
2 changed files with 9 additions and 0 deletions

8
.env.example Normal file
View file

@ -0,0 +1,8 @@
POSTGRES_PASSWORD="secret"
DATABASE_URL="postgresql://postgres:secret@localhost/pastes?sslmode=disable"
PASTES_SSH_PORT="2222"
PASTES_WEB_PORT="3000"
PASTES_DOMAIN="pastes.test:3000"
PASTES_EMAIL="me@pastey.com"
PASTES_SUBDOMAINS=1
PASTES_PROTOCOL="http"

View file

@ -23,6 +23,7 @@ export PASTES_SSH_PORT=2222
export PASTES_WEB_PORT=3000 export PASTES_WEB_PORT=3000
export PASTES_DOMAIN="pastes.sh" export PASTES_DOMAIN="pastes.sh"
export PASTES_EMAIL="hello@pastes.sh" export PASTES_EMAIL="hello@pastes.sh"
export PASTES_PROTOCOL="http"
``` ```
I just use `direnv` which will load my `.env` file. I just use `direnv` which will load my `.env` file.