services:
  xhivart-mirror:
    build: .
    container_name: xhivart-mirror
    restart: always
    environment:
      - RESEND_API_KEY=${RESEND_API_KEY}
    networks:
      - traefik-public
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.xhivart-mirror.rule=Host(`xhivart.jeffemmett.com`)"
      - "traefik.http.routers.xhivart-mirror.entrypoints=web"
      - "traefik.http.services.xhivart-mirror.loadbalancer.server.port=3000"
      - "traefik.docker.network=traefik-public"

networks:
  traefik-public:
    external: true
