mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-12-16 02:29:22 +00:00
bug fixed
This commit is contained in:
@@ -6,7 +6,7 @@ services:
|
||||
volumes:
|
||||
- dbdata:/var/lib/postgresql/data
|
||||
env_file:
|
||||
- config/db/databasepostgresql_env
|
||||
- ../../config/db/databasepostgresql_env
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq
|
||||
@@ -19,8 +19,9 @@ services:
|
||||
context: ../../
|
||||
dockerfile: Docker/Prod/Dockerfile
|
||||
command: >
|
||||
bash -c "python3 src/manage.py makemigrations
|
||||
bash -c "python3 src/manage.py makemigrations
|
||||
&& python3 src/manage.py migrate
|
||||
&& python3 src/manage.py collectstatic --noinput
|
||||
&& gunicorn --chdir src --bind 0.0.0.0:8000 config.wsgi"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
@@ -35,7 +36,7 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./config/nginx/server-cloudflare.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ../../config/nginx/server-cloudflare.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- static_volume:/django_static
|
||||
depends_on:
|
||||
- django
|
||||
|
||||
Reference in New Issue
Block a user