mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
Add missing dependency
This commit is contained in:
parent
fd9b5d2728
commit
8e7491b2e2
|
@ -27,7 +27,6 @@ services:
|
|||
- 3002:3002
|
||||
command: npm run dev -- --host
|
||||
|
||||
|
||||
backend:
|
||||
container_name: dev-portal-backend
|
||||
restart: always
|
||||
|
@ -41,9 +40,7 @@ services:
|
|||
volumes:
|
||||
- django_static_volume:/home/app/web/static
|
||||
- django_media_volume:/home/app/web/media
|
||||
command:
|
||||
gunicorn -w 3 project.wsgi --bind 0.0.0.0:8002
|
||||
|
||||
command: gunicorn -w 3 project.wsgi --bind 0.0.0.0:8002
|
||||
|
||||
postgresql-db:
|
||||
container_name: dev-portal-db
|
||||
|
@ -52,4 +49,3 @@ services:
|
|||
env_file: ./postgresql/.env.dev
|
||||
volumes:
|
||||
- postgres_volume:/var/lib/postgresql/data
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ services:
|
|||
- 3001
|
||||
command: serve -s /home/node -l 3001
|
||||
|
||||
|
||||
backend:
|
||||
container_name: local-portal-backend
|
||||
restart: always
|
||||
|
@ -40,9 +39,7 @@ services:
|
|||
volumes:
|
||||
- django_static_volume:/home/app/web/static
|
||||
- django_media_volume:/home/app/web/media
|
||||
command:
|
||||
gunicorn -w 3 project.wsgi --bind 0.0.0.0:8001
|
||||
|
||||
command: gunicorn -w 3 project.wsgi --bind 0.0.0.0:8001
|
||||
|
||||
postgresql-db:
|
||||
container_name: local-portal-db
|
||||
|
@ -52,7 +49,6 @@ services:
|
|||
volumes:
|
||||
- postgres_volume:/var/lib/postgresql/data
|
||||
|
||||
|
||||
nginx:
|
||||
container_name: local-portal-router
|
||||
restart: always
|
||||
|
@ -66,7 +62,8 @@ services:
|
|||
- 3001:3001
|
||||
depends_on:
|
||||
- backend
|
||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
||||
- frontend
|
||||
command: '/bin/sh -c ''while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g "daemon off;"'''
|
||||
volumes:
|
||||
- django_static_volume:/var/www/static
|
||||
- django_media_volume:/var/www/media
|
||||
|
|
|
@ -101,6 +101,7 @@ services:
|
|||
- 443:443
|
||||
depends_on:
|
||||
- backend
|
||||
- frontend
|
||||
command: '/bin/sh -c ''while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g "daemon off;"'''
|
||||
volumes:
|
||||
- django_static_volume:/var/www/static
|
||||
|
|
Loading…
Reference in New Issue
Block a user