diff --git a/compose.yaml b/compose.yaml index 019616b..b65cd16 100644 --- a/compose.yaml +++ b/compose.yaml @@ -7,7 +7,7 @@ services: ports: - "80:8080" # Map host's port 80 to container's port 8080 networks: - - network + - api-bridge depends_on: db: condition: service_healthy @@ -23,7 +23,7 @@ services: ports: - "3306:3306" networks: - - network + - api-bridge healthcheck: test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"] timeout: 5s @@ -32,5 +32,5 @@ services: - .env networks: - network: + api-bridge: driver: bridge