summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--docker/collector/supervisord.conf2
-rwxr-xr-xsrc/main.py (renamed from src/wsgi.py)0
3 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 769f999..d5fa7c8 100644
--- a/README.md
+++ b/README.md
@@ -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