1
0

Upgraded and refactored Traefik (#585)

This commit is contained in:
Honza Pobořil
2022-06-02 16:35:42 +02:00
committed by GitHub
parent e87ef5d0b0
commit c176745bc3
15 changed files with 80 additions and 83 deletions

View File

@@ -3,23 +3,19 @@ version: "3"
services:
traefik:
restart: unless-stopped
image: traefik
image: traefik:v2.6
container_name: traefik
ports:
- "${REVERSEPROXY_HTTP_PORT:-80}:80"
- "${REVERSEPROXY_HTTPS_PORT:-443}:443"
- "8080:8080" # Dashboard, enable for debug only
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./traefik.toml:/traefik.toml"
- "./acme.json:/acme.json:ro"
- "./servers.toml:/servers.toml"
- "./traefik_logs:/traefik_logs"
links:
- btcpayserver
- "../Traefik/traefik.yml:/traefik.yml"
- "traefik_data:/data"
volumes:
traefik_logs:
traefik_data:
exclusive:
- proxy