Skip to content

Instantly share code, notes, and snippets.

@crazy-max
Created December 20, 2019 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crazy-max/bdbc540f662de757dceac6e09c15adc7 to your computer and use it in GitHub Desktop.
Save crazy-max/bdbc540f662de757dceac6e09c15adc7 to your computer and use it in GitHub Desktop.
medium-diun-2-docker-labels
version: "3.5"
services:
diun:
image: crazymax/diun:latest
volumes:
- "./data:/data"
- "./diun.yml:/diun.yml:ro"
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- "TZ=Europe/Paris"
- "LOG_LEVEL=info"
- "LOG_JSON=false"
restart: always
cloudflared:
image: crazymax/cloudflared:latest
ports:
- target: 5053
published: 5053
protocol: udp
- target: 49312
published: 49312
protocol: tcp
environment:
- "TZ=Europe/Paris"
- "TUNNEL_DNS_UPSTREAM=https://1.1.1.1/dns-query,https://1.0.0.1/dns-query"
labels:
- "diun.enable=true"
- "diun.watch_repo=true"
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment