2024-11-21 14:20:38 +01:00
|
|
|
# Details/Doku: https:/wiki.mgrote.net/pages/_Technik/software/rest/ldap
|
2024-11-10 12:53:45 +01:00
|
|
|
|
2022-08-25 22:22:11 +02:00
|
|
|
services:
|
|
|
|
######## traefik ########
|
|
|
|
traefik:
|
2023-11-16 20:09:14 +01:00
|
|
|
container_name: traefik
|
2024-11-21 05:07:23 +01:00
|
|
|
image: "traefik:v3.2.1"
|
2024-10-23 18:21:54 +02:00
|
|
|
restart: unless-stopped
|
2024-10-23 18:20:04 +02:00
|
|
|
pull_policy: missing
|
2022-08-25 22:22:11 +02:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
- ./traefik.yml:/etc/traefik/traefik.yml
|
|
|
|
- ./file-provider.yml:/etc/traefik/file-provider.yml
|
|
|
|
- acme_data:/etc/traefik/acme
|
|
|
|
networks:
|
|
|
|
- traefik
|
|
|
|
ports:
|
|
|
|
- "80:80" # HTTP
|
2024-11-21 14:20:38 +01:00
|
|
|
- "8081:8080" # Web-GUI # deaktiveiren, einkomentioeren wenn ldap oder middleware kapuutt !!!
|
2022-08-25 22:22:11 +02:00
|
|
|
- "443:443" # HTTPS
|
|
|
|
- "2222:2222" # SSH
|
|
|
|
environment:
|
2023-04-06 19:53:27 +02:00
|
|
|
TZ: Europe/Berlin
|
2024-02-02 13:52:33 +01:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "traefik", "healthcheck", "--ping"]
|
2024-11-21 14:20:38 +01:00
|
|
|
interval: 10s
|
2024-02-02 13:52:33 +01:00
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
2024-11-21 14:20:38 +01:00
|
|
|
labels:
|
|
|
|
traefik.http.routers.traefik-dashboard.rule: Host(`traefik.mgrote.net`)
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.http.routers.traefik-dashboard.entrypoints: entry_https
|
|
|
|
traefik.http.services.traefik-dashboard.loadbalancer.server.port: 8080
|
|
|
|
|
|
|
|
traefik.http.routers.traefik-dashboard.middlewares: authelia@docker
|
2024-11-10 12:53:45 +01:00
|
|
|
|
2022-08-25 22:22:11 +02:00
|
|
|
######## Networks ########
|
|
|
|
networks:
|
2024-11-10 12:53:45 +01:00
|
|
|
authelia:
|
2022-08-25 22:22:11 +02:00
|
|
|
traefik:
|
|
|
|
external: true
|
2024-11-10 12:53:45 +01:00
|
|
|
postfix:
|
|
|
|
external: true
|
2022-08-25 22:22:11 +02:00
|
|
|
######## Volumes ########
|
|
|
|
volumes:
|
|
|
|
acme_data:
|
2024-11-21 14:20:38 +01:00
|
|
|
|
|
|
|
# inscure mode aus
|