Remove Nginx gateway - let Coolify Traefik handle reverse proxy routing

This commit is contained in:
Monarch055
2026-06-11 01:06:15 +07:00
parent 99f6909dfe
commit bde5220db4
+6 -17
View File
@@ -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