Update docker-compose.yml

This commit is contained in:
NotII
2025-03-09 01:25:17 +00:00
parent 943765c13b
commit 64156f65c4

View File

@@ -14,7 +14,7 @@ services:
ports:
- "80:80" # Expose port 80
- "443:443" # Expose port 443
- "8080:8080" # Traefik Dashboard
- "8080:8080" # Traefik Dashboard (ensure this is exposed securely)
volumes:
- "/var/run/docker.sock:/var/run/docker.sock" # Allow Traefik to interact with Docker
networks:
@@ -33,6 +33,8 @@ services:
- "traefik.enable=true"
- "traefik.http.routers.nextjs-app.rule=Host(`dash.embermarket.app`)"
- "traefik.http.services.nextjs-app.loadbalancer.server.port=3000"
- "traefik.http.middlewares.ip-whitelist.ipWhiteList.sourcerange=212.113.116.6,194.26.229.41,138.124.13.13"
- "traefik.http.routers.nextjs-app.middlewares=ip-whitelist"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_URL=https://internal-api.inboxi.ng/api