Files
deploy-panel/docker-compose.yml
T
2026-09-23 15:13:40 +03:00

28 lines
910 B
YAML

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