Files
brachnha-insight/docker-compose.yml
Max 90f807b31d Fix Docker build - Add PORT environment variable
- Add PORT=3000 to both Dockerfile and docker-compose.yml
- Ensure proper file ownership in standalone build
- Fix potential 404 routing issues

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-26 13:08:04 +07:00

25 lines
671 B
YAML

services:
brachnha-insights:
build:
context: .
dockerfile: Dockerfile
container_name: brachnha-insights
restart: unless-stopped
ports:
- "6969:3000"
environment:
- NODE_ENV=production
- PORT=3000
networks:
- dokploy-network
labels:
- "traefik.enable=true"
- "traefik.http.routers.brachnha-insights.rule=Host(`your-domain.com`)"
- "traefik.http.routers.brachnha-insights.tls=true"
- "traefik.http.routers.brachnha-insights.tls.certresolver=letsencrypt"
- "traefik.http.services.brachnha-insights.loadbalancer.server.port=3000"
networks:
dokploy-network:
external: true