Attempt at fixing traeffik

This commit is contained in:
nicolas.dorier 2022-06-19 12:42:23 +09:00
parent 9d0edbfa12
commit f4d7a12488
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -13,7 +13,23 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"
- "../Traefik/traefik.yml:/traefik.yml" - "../Traefik/traefik.yml:/traefik.yml"
- "traefik_data:/data" - "traefik_data:/data"
bitcoin_rtl:
labels:
traefik.enable: true
traefik.http.routers.bitcoin_rtl.rule: Host(`${BTCPAY_HOST}`) && (Path(`/rtl`) || PathPrefix(`/rtl/`))
btcpayserver:
labels:
traefik.enable: true
traefik.http.routers.btcpayserver.rule: Host(`${BTCPAY_HOST}`)
# Traefic can not accept list from BTCPAY_ADDITIONAL_HOSTS, see Traefik/README.md
btctransmuter:
labels:
traefik.enable: true
traefik.http.routers.btctransmuter.rule: Host(`${BTCPAY_HOST}`) && (Path(`/btctransmuter`) || PathPrefix(`/btctransmuter/`))
bitcoin_thub:
labels:
traefik.enable: true
traefik.http.routers.bitcoin_thub.rule: Host(`${BTCPAY_HOST}`) && (Path(`/thub`) || PathPrefix(`/thub/`))
volumes: volumes:
traefik_data: traefik_data: