fix: add external network configuration for condado-newsletter service in Docker Compose
All checks were successful
Build And Publish Production Image / Build And Publish Production Image (push) Successful in 17s

This commit is contained in:
2026-03-28 14:01:30 -03:00
parent eaf588f7d5
commit 363bfcb135

View File

@@ -23,6 +23,8 @@ services:
depends_on: depends_on:
condado-newsletter-postgres: condado-newsletter-postgres:
condition: service_healthy condition: service_healthy
networks:
- external
environment: environment:
SPRING_PROFILES_ACTIVE: prod SPRING_PROFILES_ACTIVE: prod
SPRING_JPA_HIBERNATE_DDL_AUTO: ${SPRING_JPA_HIBERNATE_DDL_AUTO:-update} SPRING_JPA_HIBERNATE_DDL_AUTO: ${SPRING_JPA_HIBERNATE_DDL_AUTO:-update}
@@ -62,5 +64,8 @@ volumes:
networks: networks:
default: default:
driver: bridge
external:
name: traefik name: traefik
external: true external: true