Possibility to set env vars in LL::NG handler container

This commit is contained in:
Daniel Berteaud 2024-01-04 11:40:37 +01:00
parent 4ac31cbbd6
commit 371efd0edf
2 changed files with 6 additions and 1 deletions

View File

@ -153,6 +153,8 @@ _EOF
SOURCE_SERVER = "traefik"
}
[[ template "common/file_env" $c.env ]]
vault {
policies = ["[[ .instance ]][[ .consul.suffix ]]"]
env = false

View File

@ -88,10 +88,13 @@ lemonldap:
# Docker image to use for Lemonldap::NG handler
image: '[[ .docker.repo ]]lemonldap-ng:latest'
# Env vars to set in the container
env: {}
# Resources for Lemonldap::NG handlers
resources:
cpu: 200
memory: 128
memory: 256
config:
url: https://auth.example.org/index.psgi/config