Update docker-compose.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user