Dockerize app

This commit is contained in:
Mouse Reeve
2020-03-22 11:21:19 -07:00
parent eac8f2a2f9
commit 6aad1c9250
4 changed files with 46 additions and 25 deletions

View File

@ -1,18 +1,23 @@
# SECURITY WARNING: keep the secret key used in production secret!
export SECRET_KEY="7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr"
SECRET_KEY="7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr"
# SECURITY WARNING: don't run with debug turned on in production!
export DEBUG=true
DEBUG=true
export DOMAIN=your.domain.here
DOMAIN=your.domain.here
## Leave unset to allow all hosts
# export ALLOWED_HOSTS="localhost,127.0.0.1,[::1]"
# ALLOWED_HOSTS="localhost,127.0.0.1,[::1]"
export OL_URL="https://openlibrary.org"
OL_URL="https://openlibrary.org"
## Database backend to use.
## Default is postgres, sqlite is for dev quickstart only (NOT production!!!)
export FEDIREADS_DATABASE_BACKEND=postgres
FEDIREADS_DATABASE_BACKEND=postgres
MEDIA_ROOT="images/"
POSTGRES_PASSWORD="fedireads"
POSTGRES_USER="postgres"
POSTGRES_DB="postgres"
export MEDIA_ROOT="images/"