Remove networks v2

This commit is contained in:
2025-07-14 21:51:12 +05:30
parent 0af06e7078
commit add41c8ee4
5 changed files with 0 additions and 59 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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