Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt

CMD ["gunicorn", "-c", "gunicorn.conf.py", "app:app"]
CMD ["python", "main.py"]
89 changes: 0 additions & 89 deletions app.py

This file was deleted.

8 changes: 5 additions & 3 deletions dispatcher/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
from pathlib import Path

# backend config
BACKEND_API = os.getenv(
'BACKEND_API',
BACKEND_URL = os.getenv(
'BACKEND_URL',
'http://web:8080',
)
# sandbox token
# Shared secret that now ONLY authenticates the legacy testdata channel
# (backend /problem/<id>/meta|testdata|checksum ?token= query). Its retirement
# is coordinated with the backend keystone re-authing those endpoints.
SANDBOX_TOKEN = os.getenv(
'SANDBOX_TOKEN',
'KoNoSandboxDa',
Expand Down
Loading
Loading