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