mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-12 20:49:41 +02:00
Fix docker-compose merge error
This commit is contained in:
parent
070ea5d47b
commit
79050d7486
1 changed files with 6 additions and 1 deletions
|
@ -10,6 +10,10 @@ services:
|
||||||
- db
|
- db
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
entrypoint: python /app/docker_entrypoint.py
|
entrypoint: python /app/docker_entrypoint.py
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
max_attempts: 5
|
||||||
environment:
|
environment:
|
||||||
# Send stdout and stderr straight to the terminal without buffering
|
# Send stdout and stderr straight to the terminal without buffering
|
||||||
- PYTHONUNBUFFERED=yup
|
- PYTHONUNBUFFERED=yup
|
||||||
|
@ -32,7 +36,8 @@ services:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
# command: "python"
|
# command: "python"
|
||||||
command: >
|
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:
|
db:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue