mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +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
|
||||
tty: true
|
||||
ports:
|
||||
- "8080:8000"
|
||||
- "8080:8080"
|
||||
# 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:
|
||||
image: postgres:latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue