Remove networks v2
This commit is contained in:
@@ -25,10 +25,6 @@ services:
|
||||
ports:
|
||||
- ${DB_PORT}:3306 # Maps host port to MariaDB
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
- backend # Connects to backend network
|
||||
|
||||
# Health check configuration
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
@@ -71,15 +67,3 @@ services:
|
||||
ports:
|
||||
- ${SERVER_PORT}:3000
|
||||
- ${SSH_PORT}:22
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
- frontend # Connects to frontend network
|
||||
- backend # Connects to backend network
|
||||
|
||||
# Internal network definition
|
||||
networks:
|
||||
frontend:
|
||||
external: true # Uses pre-existing frontend network
|
||||
backend:
|
||||
external: true # Uses pre-existing backend network
|
||||
|
Reference in New Issue
Block a user