traefik specific labels and files

This commit is contained in:
Andrew Camilleri
2018-09-13 13:35:20 +02:00
parent 16cd65c37f
commit 34e263d12b
6 changed files with 57 additions and 6 deletions

View File

@@ -8,3 +8,5 @@ services:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:${BTCPAY_HOST}"
- "traefik.port.rule=49392"
- "traefik.acme.domains=${BTCPAY_HOST},www.${BTCPAY_HOST}"
- "traefik.acme.email=${LETSENCRYPT_EMAIL}"

View File

@@ -9,11 +9,12 @@ services:
- "80:80"
- "443:443"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./traefik.toml:/traefik.toml"
- "./acme.json:/acme.json"
- "./servers.toml:/servers.toml"
- "./traefik_logs:/traefik_logs"
- "/var/run/docker.sock:/var/run/docker.sock"
- "./traefik.toml:/traefik.toml"
- "./acme.json:/acme.json"
- "./servers.toml:/servers.toml"
- "./traefik_logs:/traefik_logs"
links:
- btcpayserver