Remove networks v2
This commit is contained in:
@@ -23,10 +23,6 @@ services:
|
||||
ports:
|
||||
- ${PORT}:4321 # Maps host port to container
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
- internal # Connects to internal network
|
||||
|
||||
# Health check configuration
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=3", "--spider", "http://localhost:4321/api/health"]
|
||||
@@ -34,8 +30,3 @@ services:
|
||||
timeout: 10s # Check timeout
|
||||
retries: 5 # Allowed retries
|
||||
start_period: 15s # Initial delay before checks
|
||||
|
||||
# External network definition
|
||||
networks:
|
||||
internal:
|
||||
external: true # Uses pre-existing internal network
|
||||
|
@@ -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
|
||||
|
@@ -21,10 +21,6 @@ services:
|
||||
ports:
|
||||
- ${DB_PORT}:5432 # Maps host port to PostgreSQL
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
- backend # Connects to backend network
|
||||
|
||||
# Health check configuration
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
||||
@@ -65,15 +61,3 @@ services:
|
||||
ports:
|
||||
- ${SERVER_PORT}:3000 # Maps host port to Gitea web interface
|
||||
- ${SSH_PORT}:22 # Maps host port to Gitea SSH
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
- frontend # Connects to frontend network
|
||||
- backend # Connects to backend network
|
||||
|
||||
# External network definition
|
||||
networks:
|
||||
frontend:
|
||||
external: true # Uses pre-existing frontend network
|
||||
backend:
|
||||
external: true # Uses pre-existing backend network
|
||||
|
@@ -18,12 +18,3 @@ services:
|
||||
# Network port configuration
|
||||
ports:
|
||||
- ${PORT}:80 # Maps host port to Gotify web interface
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
- frontend # Connects to frontend network
|
||||
|
||||
# External network definition
|
||||
networks:
|
||||
frontend:
|
||||
external: true # Uses pre-existing frontend network
|
||||
|
@@ -50,12 +50,3 @@ services:
|
||||
ports:
|
||||
- ${PORT}:8000 # Web interface port
|
||||
- ${SMTP_PORT}:2525 # SMTP port for email
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
- frontend # Connects to frontend network
|
||||
|
||||
# External network configuration
|
||||
networks:
|
||||
frontend:
|
||||
external: true # Uses pre-existing frontend network
|
||||
|
Reference in New Issue
Block a user