services: web: build: . container_name: deploy-panel restart: always environment: - CF_API_TOKEN=${CF_API_TOKEN} - CF_ZONE_ID=${CF_ZONE_ID} - SELF_CONTAINER_NAME=${SELF_CONTAINER_NAME} volumes: - /var/run/docker.sock:/var/run/docker.sock networks: - proxy labels: - traefik.enable=true - traefik.docker.network=proxy - traefik.http.routers.deploy-panel.rule=Host(`panel.akalan.dev`) - traefik.http.routers.deploy-panel.entrypoints=websecure - traefik.http.routers.deploy-panel.tls.certresolver=letsencrypt - traefik.http.routers.deploy-panel.middlewares=deploy-panel-auth - traefik.http.middlewares.deploy-panel-auth.basicauth.users=admin:$$apr1$$KYMJ2WN5$$Y7cgWSwTwxqXuO3.8C8Rb/ - traefik.http.services.deploy-panel.loadbalancer.server.port=5000 networks: proxy: name: proxy external: true