mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 20:57:09 +00:00
added force recreation to update configs
This commit is contained in:
+12
-3
@@ -3,6 +3,8 @@ name: datarush
|
||||
services:
|
||||
backend:
|
||||
image: gitlab.prodcontest.ru:5050/team-15/project/backend:latest
|
||||
build:
|
||||
context: ./services/backend
|
||||
depends_on:
|
||||
backend-initdb:
|
||||
restart: false
|
||||
@@ -35,6 +37,8 @@ services:
|
||||
|
||||
backend-initdb:
|
||||
image: gitlab.prodcontest.ru:5050/team-15/project/backend:latest
|
||||
build:
|
||||
context: ./services/backend
|
||||
command: ./scripts/initdb
|
||||
depends_on:
|
||||
postgres:
|
||||
@@ -57,6 +61,9 @@ services:
|
||||
|
||||
backend-staticfiles:
|
||||
image: gitlab.prodcontest.ru:5050/team-15/project/backend-staticfiles:latest
|
||||
build:
|
||||
context: ./services/backend
|
||||
dockerfile: Dockerfile.staticfiles
|
||||
env_file:
|
||||
- path: ./infrastructure/backend/.env.template
|
||||
required: true
|
||||
@@ -79,6 +86,8 @@ services:
|
||||
|
||||
backend-celery-worker:
|
||||
image: gitlab.prodcontest.ru:5050/team-15/project/backend:latest
|
||||
build:
|
||||
context: ./services/backend
|
||||
command: celery -A config worker -l INFO
|
||||
depends_on:
|
||||
redis:
|
||||
@@ -307,12 +316,12 @@ services:
|
||||
- name: api
|
||||
target: 9000
|
||||
published: 8005
|
||||
host_ip: 127.0.0.1
|
||||
host_ip: 0.0.0.0
|
||||
protocol: tcp
|
||||
- name: console
|
||||
target: 9001
|
||||
published: 8006
|
||||
host_ip: 127.0.0.1
|
||||
host_ip: 0.0.0.0
|
||||
protocol: tcp
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -338,7 +347,7 @@ services:
|
||||
- name: web
|
||||
target: 9090
|
||||
published: 8007
|
||||
host_ip: 127.0.0.1
|
||||
host_ip: 0.0.0.0
|
||||
protocol: tcp
|
||||
restart: unless-stopped
|
||||
shm_size: 4mb
|
||||
|
||||
Reference in New Issue
Block a user