services:
  jv-dashboard:
    build: .
    image: jv-dashboard:latest
    restart: unless-stopped
    environment:
      - NODE_ENV=production
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.jv.rule=Host(`jv.quikcue.com`)"
      - "traefik.http.routers.jv.entrypoints=websecure"
      - "traefik.http.routers.jv.tls.certresolver=letsencrypt"
      - "traefik.http.services.jv.loadbalancer.server.port=3456"
    networks:
      - web

networks:
  web:
    external: true
