services: ops-dashboard: build: . container_name: ops-dashboard restart: unless-stopped env_file: .env healthcheck: test: ["CMD-SHELL", "curl -sf http://localhost:8080/api/registry/?token=$AUTH_TOKEN"] interval: 30s timeout: 5s retries: 3 start_period: 10s volumes: - /opt/infrastructure:/opt/infrastructure - /opt/data:/opt/data - /var/run/docker.sock:/var/run/docker.sock - ./static:/app/static - ./app:/app/app labels: - "traefik.enable=true" - "traefik.http.routers.ops-dashboard.rule=Host(`cockpit.tekmidian.com`)" - "traefik.http.routers.ops-dashboard.entrypoints=https" - "traefik.http.routers.ops-dashboard.tls=true" - "traefik.http.routers.ops-dashboard.tls.certresolver=letsencrypt" - "traefik.http.services.ops-dashboard.loadbalancer.server.port=8080" networks: - proxy networks: proxy: external: true