1
0

add in fragments and additional fragments related to traefik

This commit is contained in:
Andrew Camilleri
2018-09-13 13:18:36 +02:00
parent b893fd0577
commit 16cd65c37f
5 changed files with 74 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
version: "3"
services:
btcpayserver:
labels:
- "traefik.backend=btcpayserver"
- "traefik.backend.loadbalancer.sticky=true"
- "traefik.enable=true"
- "traefik.frontend.rule=Host:${BTCPAY_HOST}"
- "traefik.port.rule=49392"

View File

@@ -0,0 +1,21 @@
version: "3"
services:
traefik:
restart: unless-stopped
image: traefik
container_name: traefik
ports:
- "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"
links:
- btcpayserver
volumes:
traefik_logs: