35 lines
882 B
YAML
35 lines
882 B
YAML
version: '3'
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
|
|
services:
|
|
reverse-proxy:
|
|
# The official v3 Traefik docker image
|
|
image: traefik:v3.1
|
|
# Enables the web UI and tells Traefik to listen to docker
|
|
command: --configFile=/config/traefik.yml
|
|
environment:
|
|
- IPV64_API_KEY_FILE=/config/ipv64.env
|
|
ports:
|
|
# The HTTP port
|
|
- "80:80"
|
|
# The HTTPS port
|
|
- "443:443"
|
|
# The Web UI (enabled by --api.insecure=true)
|
|
- "8080:8080"
|
|
volumes:
|
|
# So that Traefik can listen to the Docker events
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /docker/traefik3/logs:/logs
|
|
- /docker/traefik3/config:/config
|
|
- /docker/traefik3/ACME/acme.json:/ACME/acme.json
|
|
networks:
|
|
- traefik
|
|
logging:
|
|
driver: "gelf"
|
|
options:
|
|
gelf-address: "udp://192.168.1.250:12201"
|
|
restart: always
|