This commit is contained in:
Arthur K. 2025-05-29 16:29:59 +03:00
parent ce42e8501e
commit cdf0820bb8
Signed by: wzray
GPG key ID: B97F30FDC4636357
14 changed files with 1974 additions and 308 deletions

20
compose.yml Normal file
View file

@ -0,0 +1,20 @@
services:
traefik:
build: .
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- certs:/etc/certs/
- /tmp:/tmp
environment:
- CF_API_EMAIL=${CF_API_EMAIL}
- CF_DNS_API_TOKEN=${CF_DNS_API_TOKEN}
labels:
traefik.host: _
traefik.http.services.dashboard.loadbalancer.server.port: 0
traefik.http.routers.api.rule: Host(`traefik-cpu.wzray.com`)
traefik.http.routers.api.service: api@internal
restart: unless-stopped
volumes:
certs: