diff --git a/gunicorn_start.sh b/gunicorn_start.sh index dbdca61f..da72ec3b 100755 --- a/gunicorn_start.sh +++ b/gunicorn_start.sh @@ -23,7 +23,7 @@ test -d $RUNDIR || mkdir -p $RUNDIR # Start your Django Unicorn # Programs meant to be run under supervisor should not daemonize themselves (do not use --daemon) -exec /home/mkoenig/envs/flutype_webapp/bin/gunicorn ${DJANGO_WSGI_MODULE}:application \ +exec /home/mkoenig/envs/pkdb/bin/gunicorn ${DJANGO_WSGI_MODULE}:application \ --name $NAME \ --workers $NUM_WORKERS \ --user $USER \ diff --git a/pkdb_app/config/local.py b/pkdb_app/config/local.py index 0ed77932..f565747a 100755 --- a/pkdb_app/config/local.py +++ b/pkdb_app/config/local.py @@ -25,13 +25,12 @@ class Local(Common): ] # Postgres - DATABASES = { 'default': dj_database_url.config( # postgres://USER:PASSWORD@HOST:PORT/NAME default=f'postgres://postgres:pass@postgres:5432/postgres', conn_max_age=int(os.getenv('POSTGRES_CONN_MAX_AGE', 600)) - ) + ), } ''' DATABASES = {