23 lines
546 B
YAML
23 lines
546 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
dashboard:
|
|
build: .
|
|
#ports:
|
|
# - "3000:3000"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
environment:
|
|
- NODE_ENV=production
|
|
networks:
|
|
- dokploy_default
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.dashboard.rule=Host(`dashboard.yourdomain.com`)"
|
|
- "traefik.http.services.dashboard.loadbalancer.server.port=3000"
|
|
- "traefik.http.routers.dashboard.tls.certResolver=letsencrypt"
|
|
|
|
networks:
|
|
dokploy_default:
|
|
external: true
|