2021-05-09 22:07:17 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
traefik:
|
2023-02-02 12:50:01 +01:00
|
|
|
image: traefik:v2.9.6
|
2021-05-09 22:07:17 +02:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
2023-02-01 18:43:13 +01:00
|
|
|
- ${DATA_PATH}/letsencrypt:/letsencrypt
|
|
|
|
- ${DATA_PATH}/traefik.toml:/traefik.toml
|
|
|
|
- ${DATA_PATH}/traefik_dynamic.toml:/traefik_dynamic.toml
|
2021-05-09 22:07:17 +02:00
|
|
|
container_name: traefik
|
|
|
|
labels:
|
|
|
|
- "co.elastic.logs/module=traefik"
|
|
|
|
- "co.elastic.logs/fileset=access"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: proxy
|