networkmode is needed for the db
parent
f9a5ff3810
commit
c2ecdc9bf6
|
|
@ -9,6 +9,7 @@ services:
|
|||
unless-stopped
|
||||
ports:
|
||||
- "3030:3030"
|
||||
network_mode: "host"
|
||||
command: >
|
||||
sh -c "python manage.py makemigrations blog --noinput &&
|
||||
python manage.py migrate --noinput &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue