23 lines
508 B
YAML
23 lines
508 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
traefik:
|
|
image: traefik:v2.9.6
|
|
restart: always
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- ${DATA_PATH}/letsencrypt:/letsencrypt
|
|
- ${DATA_PATH}/traefik.toml:/traefik.toml
|
|
- ${DATA_PATH}/traefik_dynamic.toml:/traefik_dynamic.toml
|
|
container_name: traefik
|
|
labels:
|
|
- "co.elastic.logs/module=traefik"
|
|
- "co.elastic.logs/fileset=access"
|
|
|
|
networks:
|
|
default:
|
|
name: proxy
|