aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml5
-rw-r--r--instance/config.py (renamed from instance/production.py)2
-rwxr-xr-xwait-for-postgres.sh2
3 files changed, 3 insertions, 6 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 3634afc2..fd3bd0e0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -21,11 +21,8 @@ services:
context: .
dockerfile: ./Dockerfile
tty: true
- volumes:
- - .:/newspipe:rw
- - /newspipe/static/npm_components/
environment:
- - Newspipe_CONFIG=/newspipe/instance/production.py
+ - Newspipe_CONFIG=/newspipe/instance/config.py
ports:
- "5000:5000"
expose:
diff --git a/instance/production.py b/instance/config.py
index 90f27c1c..8a3fdb6b 100644
--- a/instance/production.py
+++ b/instance/config.py
@@ -7,7 +7,7 @@ import os
# Webserver
HOST = "0.0.0.0"
PORT = 5000
-DEBUG = False
+DEBUG = True
API_ROOT = "/api/v2.0"
CSRF_ENABLED = True
diff --git a/wait-for-postgres.sh b/wait-for-postgres.sh
index e6bbd619..3f4e7067 100755
--- a/wait-for-postgres.sh
+++ b/wait-for-postgres.sh
@@ -13,7 +13,7 @@ do
done
>&2 echo "Postgres is up - executing command"
-export Newspipe_CONFIG=/newspipe/instance/production.py
+export Newspipe_CONFIG=/newspipe/instance/config.py
poetry run ./manager.py db_create >/dev/null
poetry run pybabel compile -d newspipe/translations
poetry run ./runserver.py
bgstack15