From a5ec3ca6cb6ab7511f03d4be0c4d3ab4644b323f Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 25 Jul 2025 13:33:03 +0300 Subject: [PATCH] chore(docker_compose): improvements --- compose.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/compose.yaml b/compose.yaml index cb8d0ad..273d21c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -21,10 +21,6 @@ services: restart: false condition: service_healthy required: true - minio: - restart: false - condition: service_healthy - required: true env_file: - path: ./infrastructure/backend/.env.template required: true @@ -57,10 +53,6 @@ services: restart: false condition: service_healthy required: true - minio: - restart: false - condition: service_healthy - required: true env_file: - path: ./infrastructure/backend/.env.template required: true @@ -226,7 +218,7 @@ services: - path: ./infrastructure/postgres/.env required: false healthcheck: - test: ["CMD", "pg_isready"] + test: ["CMD", "pg_isready", "-U", "postgres"] interval: 1m30s timeout: 5s start_period: 5s @@ -393,6 +385,8 @@ services: host_ip: 127.0.0.1 protocol: tcp app_protocol: http + profiles: + - minio restart: unless-stopped shm_size: 4mb volumes: