From bde5220db47975687d5fe4ea316fa87ef0321cc4 Mon Sep 17 00:00:00 2001 From: Monarch055 Date: Thu, 11 Jun 2026 01:06:15 +0700 Subject: [PATCH] Remove Nginx gateway - let Coolify Traefik handle reverse proxy routing --- docker-compose.yaml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 6312be5..afa1f57 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,20 +1,8 @@ version: '3.8' services: - # 1. Nginx Gateway Reverse Proxy - gateway: - build: - context: ./docker/nginx # Build from our custom Dockerfile - container_name: gis_gateway - ports: - - "${HOST_PORT_GATEWAY:-80}:80" - depends_on: - - php-app - - next-app - networks: - - gis-network - - # 2. PHP + Apache Web App (for Root Portal, SPBU, Parsil, and Chloropleth) + # 1. PHP + Apache Web App (for Root Portal, SPBU, Parsil, and Chloropleth) + # Coolify's Traefik reverse proxy routes traffic to this service via the domain set in Coolify UI. php-app: build: ./docker/php container_name: gis_php_app @@ -30,7 +18,8 @@ services: networks: - gis-network - # 3. Next.js App Service + # 2. Next.js App Service + # Coolify's Traefik reverse proxy routes traffic to this service via the domain set in Coolify UI. next-app: build: ./docker/nextjs container_name: gis_next_app @@ -48,7 +37,7 @@ services: networks: - gis-network - # 4. MySQL Database Service + # 3. MySQL Database Service db: image: mysql:8.0 container_name: gis_db @@ -63,7 +52,7 @@ services: networks: - gis-network - # 5. phpMyAdmin (Database Management Web UI) + # 4. phpMyAdmin (Database Management Web UI) phpmyadmin: image: phpmyadmin:latest container_name: gis_phpmyadmin