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

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