This commit is contained in:
parent
ce42e8501e
commit
cdf0820bb8
14 changed files with 1974 additions and 308 deletions
20
compose.yml
Normal file
20
compose.yml
Normal 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:
|
Loading…
Add table
Add a link
Reference in a new issue