From f8b700b982600a34aa44819d6681c7cf9d370b34 Mon Sep 17 00:00:00 2001 From: emmatveev Date: Thu, 18 Sep 2025 23:45:10 +0300 Subject: [PATCH] Update .deploy/deploy-prod.yaml --- .deploy/deploy-prod.yaml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index b821cfa..c779f9a 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -8,10 +8,12 @@ services: networks: - common-infra-nginx - configurator + - postgres + - minio environment: - DB_HOST: "pg.chocomarsh.com" + DB_HOST: "postgres" DB_PASSWORD: $DB_PASSWORD_PROD - MINIO_HOST: "minio.chocomarsh.com" + MINIO_HOST: "minio" MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD REDIS_HOST: "redis.chocomarsh.com" REDIS_PASSWORD: $REDIS_PASSWORD_PROD @@ -37,10 +39,13 @@ services: fetch_stats: image: mathwave/sprint-repo:platform + networks: + - postgres + - minio environment: - DB_HOST: "pg.chocomarsh.com" + DB_HOST: "postgres" DB_PASSWORD: $DB_PASSWORD_PROD - MINIO_HOST: "minio.schocomarsh.com" + MINIO_HOST: "minio" MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD REDIS_HOST: "redis.chocomarsh.com" REDIS_PASSWORD: $REDIS_PASSWORD_PROD @@ -60,10 +65,13 @@ services: migrate: image: mathwave/sprint-repo:platform + networks: + - postgres + - minio environment: - DB_HOST: "pg.chocomarsh.com" + DB_HOST: "postgres" DB_PASSWORD: $DB_PASSWORD_PROD - MINIO_HOST: "minio.chocomarsh.com" + MINIO_HOST: "minio" MINIO_SECRET_KEY: $MINIO _SECRET_KEY_PROD command: migrate deploy: @@ -79,3 +87,7 @@ networks: external: true configurator: external: true + postgres: + external: true + minio: + external: true