diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..355af79 --- /dev/null +++ b/.env.example @@ -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" diff --git a/README.md b/README.md index 69b15f9..356e5cd 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ export PASTES_SSH_PORT=2222 export PASTES_WEB_PORT=3000 export PASTES_DOMAIN="pastes.sh" export PASTES_EMAIL="hello@pastes.sh" +export PASTES_PROTOCOL="http" ``` I just use `direnv` which will load my `.env` file.