-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 1.38 KB
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (30 loc) · 1.38 KB
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
30
31
services:
docker-api-notifier:
build: .
container_name: docker-api-notifier
environment:
- DNS_SERVER_TYPE=Technitium
- DNS_SERVER_URL=${DNS_SERVER_URL}
- DNS_SERVER_API_TOKEN=${DNS_SERVER_API_TOKEN}
- STD_URL=${STD_URL}
- STD_API_TOKEN=${STD_API_TOKEN}
- TZ=America/Los_Angeles
- STD_REFRESH_SECONDS=120
# Override the host name used as the DNS CNAME target (<host>.<dockerdomain>).
# If unset, the notifier uses the host's hostname (read from the
# /etc/hostname mount below). Set this if running in WSL or other
# environments where the host has a different name than your DNS
# entries expect.
# - HOST_NAME_OVERRIDE=wsl-host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/hostname:/etc/host_hostname:ro
- /var/docker/docker-api-notifier:/config
- .:/app
restart: unless-stopped
labels:
# dockernotifier
- "dockernotifier.notifiers=dns,service-tracker-dashboard" #which services to run.
- "dockernotifier.dns.containerhostname=container_name" #put the host name you want to use for the cname entry
- "dockernotifier.dns.containerzone=containerzone" # This is the domain or zone name you want to add the container entry to
- "dockernotifier.dns.dockerdomain=home.arpa" #this is the domain your docker host is a member of