Fix docker-compose
This commit is contained in:
parent
4f64eacbd7
commit
c2ec1ba5ce
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
python manage.py collectstatic --noinput
|
python manage.py collectstatic --noinput
|
||||||
python manage.py makemigrations --noinput
|
python manage.py makemigrations --noinput
|
||||||
python manage.py migrate --noinput
|
python manage.py migrate --noinput
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3.7'
|
version: '3.5'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
@ -12,7 +12,7 @@ services:
|
|||||||
env_file: .env
|
env_file: .env
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
command: bash -c /wait-for-it/wait-for-it.sh db:5432 --strict --timeout=0
|
command: ["./wait-for-it.sh", "db:5432", "--strict", "--timeout=0"]
|
||||||
db:
|
db:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user