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