Add /whoami view for logged-in user

This commit is contained in:
Seamus Johnston 2022-09-13 09:15:40 -05:00 committed by Neil Martinsen-Burrell
parent cbf39aa3c3
commit f147f8c2ab
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
16 changed files with 375 additions and 167 deletions

View file

@ -10,10 +10,6 @@ services:
- db
working_dir: /app
entrypoint: python /app/docker_entrypoint.py
deploy:
restart_policy:
condition: on-failure
max_attempts: 5
environment:
# Send stdout and stderr straight to the terminal without buffering
- PYTHONUNBUFFERED=yup
@ -36,8 +32,7 @@ services:
- "8080:8080"
# command: "python"
command: >
bash -c " python manage.py migrate &&
python manage.py runserver 0.0.0.0:8080"
bash -c " python manage.py migrate && python manage.py runserver 0.0.0.0:8080"
db:
image: postgres:latest