almost finish migrate new circumstances
This commit is contained in:
@ -22,7 +22,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.gdal
|
||||
command: gunicorn config.wsgi:application --bind 0.0.0.0:8000
|
||||
command: bash -c "./wait-for-postgres.sh postgres-db && python manage.py migrate && gunicorn config.wsgi:application --bind 0.0.0.0:8000"
|
||||
volumes:
|
||||
- .:/app
|
||||
- static_volume:/app/static
|
||||
@ -41,6 +41,7 @@ services:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
- static_volume:/app/static
|
||||
- media_volume:/app/media
|
||||
- ./supervisor/html:/usr/share/nginx/html
|
||||
ports:
|
||||
- 8100:80
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user