mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
Tweak docker-compose to run migrations and use port 8080
This commit is contained in:
parent
8b7cd20d1f
commit
497f5fcc79
1 changed files with 4 additions and 2 deletions
|
@ -28,9 +28,11 @@ services:
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
ports:
|
ports:
|
||||||
- "8080:8000"
|
- "8080:8080"
|
||||||
# command: "python"
|
# command: "python"
|
||||||
command: "python manage.py runserver 0.0.0.0:8000"
|
command: >
|
||||||
|
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