89 lines
2.0 KiB
YAML
89 lines
2.0 KiB
YAML
---
|
|
|
|
traefik:
|
|
# Docker image to use for Traefik
|
|
image: danielberteaud/traefik:3.0-1
|
|
|
|
# Resources for traefik instances
|
|
resources:
|
|
cpu: 200
|
|
memory: 180
|
|
|
|
# The driver to use (docker or podman)
|
|
driver: docker
|
|
|
|
# Number of traefik instances
|
|
count: 2
|
|
|
|
api:
|
|
traefik:
|
|
entrypoints:
|
|
- https
|
|
# List of Traefik middlewares to be applied on the API / dashboard
|
|
middlewares:
|
|
- ip-trusted@file
|
|
- csp-strict@file
|
|
|
|
ping:
|
|
traefik:
|
|
entrypoints:
|
|
- http
|
|
- https
|
|
priority: 2000
|
|
# List of Traefik middlewares for the /ping endpoint
|
|
middlewares:
|
|
- ip-trusted@file
|
|
|
|
# List of trusted proxies from whom to trust proxy protocol v1/v2 source address
|
|
trusted_proxies: []
|
|
|
|
# List of additional entrypoints. There's already 3 configured
|
|
# - https on port 443
|
|
# - http on port 80
|
|
# - metrics on port 9500
|
|
# entrypoints:
|
|
# postgres:
|
|
# static: 5432
|
|
# to: 5432
|
|
# protocol: tcp
|
|
# middlewares:
|
|
# - ip-trusted@file
|
|
# syslog:
|
|
# static: 514
|
|
# to: 5514
|
|
# protocol: udp
|
|
entrypoints: {}
|
|
|
|
# The public URL, on which the following endpoints will be exposed
|
|
# - /api : the API
|
|
# - /ping : the health check
|
|
# Note : this URL should have a path (so https://traefik.example.org/ is invalid but https://traefik/example.org/dashboard is valid)
|
|
public_url: https://traefik.example.org/dashboard
|
|
|
|
lemonldap:
|
|
# If enabled, will run a Lemonldap::NG handler sidecar
|
|
# able to auth using the lemonldap@file middleware
|
|
enabled: False
|
|
|
|
# Docker image to use for Lemonldap::NG handler
|
|
image: danielberteaud/lemonldap-ng-handler:2.17.1-1
|
|
|
|
# Resources for Lemonldap::NG handlers
|
|
resources:
|
|
cpu: 100
|
|
memory: 128
|
|
|
|
# The driver to use (docker or podman)
|
|
driver: docker
|
|
|
|
# DB the handler will use for config and session
|
|
# Only MySQL/MariaDB is supported for now
|
|
db:
|
|
host: 127.0.0.1
|
|
port: 3306
|
|
# DB user
|
|
user: lemonldapnghandler
|
|
# DB name
|
|
name: lemonldapng
|
|
|