added force recreation to update configs

This commit is contained in:
ITQ
2025-03-01 14:37:44 +03:00
parent 090737d981
commit 1018c0280c
+12 -3
View File
@@ -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