mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 23:42:17 +02:00
Add /whoami view for logged-in user
This commit is contained in:
parent
cbf39aa3c3
commit
f147f8c2ab
16 changed files with 375 additions and 167 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue