freeipa / freeipa-container

FreeIPA server in containers — images at https://quay.io/repository/freeipa/freeipa-server?tab=tags
https://quay.io/repository/freeipa/freeipa-server?tab=tags
Apache License 2.0
595 stars 255 forks source link

Info on Docker environment variables #592

Closed mlazzarotto closed 6 months ago

mlazzarotto commented 6 months ago

Good morning, it seems to me that the documentation in the README.md is not particularly extensive, and especially I notice that there is no section with all the available environment variables to use with Docker. Am I looking in maybe the wrong place?

adelton commented 6 months ago

Which environment variable do you find missing?

mlazzarotto commented 6 months ago

Hi, there's not a particular environment variable that I can't find, but I was wondering if there's somewhere a list of all the available variables.

adelton commented 6 months ago

Not really. Note that the docker run (podman run, docker-compose YAML, K8s YAML) parameters, as well as parameter to the container invocation that get passed to ipa-server-install, are much more crucial than the environment variables.

But checking https://github.com/freeipa/freeipa-container/blob/master/init-data we have

which is just a shortcut for specifying the password in the ipa-server-install argument list,

which is an alternative way to specifying the ipa-server-install argument list,

which you don't need with docker run where you can use -h,

which in latest versions of FreeIPA is not really needed because --ip-address seems to work,

which is an equivalent to no-exit container parameter, and lastly

which just does set -x for the initial init-data setup script.