From add41c8ee4a4cd92ee625f6f9c7608a0cd6de56f Mon Sep 17 00:00:00 2001 From: ryuupendragon Date: Mon, 14 Jul 2025 21:51:12 +0530 Subject: [PATCH] Remove networks v2 --- gitea-mirror/docker-compose.yml | 9 --------- gitea/docker-compose-mariadb.yml | 16 ---------------- gitea/docker-compose.yml | 16 ---------------- gotify/docker-compose.yml | 9 --------- healthchecks/docker-compose.yml | 9 --------- 5 files changed, 59 deletions(-) diff --git a/gitea-mirror/docker-compose.yml b/gitea-mirror/docker-compose.yml index a09d981..24bf117 100644 --- a/gitea-mirror/docker-compose.yml +++ b/gitea-mirror/docker-compose.yml @@ -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 diff --git a/gitea/docker-compose-mariadb.yml b/gitea/docker-compose-mariadb.yml index b6644b3..d84b7ab 100644 --- a/gitea/docker-compose-mariadb.yml +++ b/gitea/docker-compose-mariadb.yml @@ -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 diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index 65f07c8..a072030 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -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 diff --git a/gotify/docker-compose.yml b/gotify/docker-compose.yml index 61dda00..ea56237 100644 --- a/gotify/docker-compose.yml +++ b/gotify/docker-compose.yml @@ -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 diff --git a/healthchecks/docker-compose.yml b/healthchecks/docker-compose.yml index f56815c..0af20db 100644 --- a/healthchecks/docker-compose.yml +++ b/healthchecks/docker-compose.yml @@ -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