forked from tiredofit/docker-traefik-cloudflare-companion
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (26 loc) · 706 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (26 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '3.7'
services:
cloudflare-companion:
image: tiredofit/traefik-cloudflare-companion
container_name: cloudflare-companion
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- TRAEFIK_VERSION=2
- CF_EMAIL=email@example.com
- CF_TOKEN=fbSx3dk3A3mJ6UukLQ7zRbo63H5UdsGSCqQnTvbJDgyQaTp
- TARGET_DOMAIN=host.example.org
- DOMAIN1=example.org
- DOMAIN1_ZONE_ID=1234567890
#- DOCKER_HOST=tcp://198.51.100.32:2376
#- DOCKER_CERT_PATH=/docker-certs
#- DOCKER_TLS_VERIFY=1
networks:
- internal
- services
restart: always
networks:
internal:
external: false
services:
external: true