diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | docker/collector/supervisord.conf | 2 | ||||
-rwxr-xr-x | src/main.py (renamed from src/wsgi.py) | 0 |
3 files changed, 2 insertions, 1 deletions
@@ -59,6 +59,7 @@ Start CouchDB and the collector. Make sure to give it a username and password: export COUCHDB_PASSWORD=insecure export COUCHDB_NAME=test export COUCHDB_HOSTNAME=couchdb + export DOCKER_JWT_PUBKEY_PATH=/tmp/jwt_keys/ docker-compose up Now the database and the API server should be running, now we can try diff --git a/docker/collector/supervisord.conf b/docker/collector/supervisord.conf index 374f4fe..1fef83a 100644 --- a/docker/collector/supervisord.conf +++ b/docker/collector/supervisord.conf @@ -3,7 +3,7 @@ nodaemon=true [program:uvicorn] directory = /opt/collector/src/ -command = /opt/collector/venv/bin/uvicorn --proxy-headers --port 8000 wsgi:app +command = /opt/collector/venv/bin/uvicorn --proxy-headers --port 8000 main:app stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr diff --git a/src/wsgi.py b/src/main.py index 9e028b0..9e028b0 100755 --- a/src/wsgi.py +++ b/src/main.py |