Files
brachnha-insight/docker-compose.yml
Max b6a566db6e Add Docker deployment support for Dokploy
- Add Dockerfile with multi-stage build
- Add docker-compose.yml with Traefik labels
- Add .dockerignore for optimal build context
- Update next.config.ts for standalone output
- Update DEPLOYMENT.md with Dokploy instructions

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-26 12:38:37 +07:00

24 lines
653 B
YAML

services:
brachnha-insights:
build:
context: .
dockerfile: Dockerfile
container_name: brachnha-insights
restart: unless-stopped
ports:
- "3000:3000"
environment:
- NODE_ENV=production
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