chore: compose improvements

This commit is contained in:
ITQ
2025-05-08 14:38:40 +03:00
parent 041a5d92e0
commit 9ffe7b797f
+12 -9
View File
@@ -22,10 +22,6 @@ services:
restart: false restart: false
condition: service_healthy condition: service_healthy
required: true required: true
checker:
restart: false
condition: service_healthy
required: true
env_file: env_file:
- path: ./infrastructure/backend/.env.template - path: ./infrastructure/backend/.env.template
required: true required: true
@@ -37,6 +33,7 @@ services:
published: 8000 published: 8000
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
backend-initdb: backend-initdb:
@@ -86,6 +83,7 @@ services:
published: 8001 published: 8001
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
backend-celery-worker: backend-celery-worker:
@@ -146,6 +144,7 @@ services:
published: 8002 published: 8002
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
redis: redis:
@@ -256,6 +255,7 @@ services:
published: 8003 published: 8003
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
secrets: secrets:
- source: pgadmin_password - source: pgadmin_password
@@ -288,6 +288,7 @@ services:
published: 8004 published: 8004
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
shm_size: 4mb shm_size: 4mb
volumes: volumes:
@@ -322,11 +323,13 @@ services:
published: 8005 published: 8005
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
- name: console - name: console
target: 9001 target: 9001
published: 8006 published: 8006
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- type: volume - type: volume
@@ -353,6 +356,7 @@ services:
published: 8007 published: 8007
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
shm_size: 4mb shm_size: 4mb
volumes: volumes:
@@ -363,7 +367,7 @@ services:
docs: docs:
image: registry.gitlab.com/megazordpobeda/datarush/docs:${VERSION:-latest} image: registry.gitlab.com/megazordpobeda/datarush/docs:${VERSION:-latest}
build: build:
context: ./docs context: ./services/docs
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- name: web - name: web
@@ -371,6 +375,7 @@ services:
published: 8008 published: 8008
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
shm_size: 4mb shm_size: 4mb
@@ -383,10 +388,6 @@ services:
context: ./services/checker context: ./services/checker
dockerfile: Dockerfile dockerfile: Dockerfile
depends_on: depends_on:
custom_python:
restart: false
condition: service_completed_successfully
required: true
minio: minio:
restart: false restart: false
condition: service_healthy condition: service_healthy
@@ -402,6 +403,7 @@ services:
published: 8009 published: 8009
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- type: bind - type: bind
@@ -422,6 +424,7 @@ services:
published: 8010 published: 8010
host_ip: 127.0.0.1 host_ip: 127.0.0.1
protocol: tcp protocol: tcp
app_protocol: http
restart: unless-stopped restart: unless-stopped
volumes: volumes: