2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-10-30 15:21:11 +00:00
pyentrypoint/docs/extra.rst

22 lines
1.0 KiB
ReStructuredText
Raw Normal View History

2016-04-29 00:33:43 +00:00
Options setup
=============
Some setups can be overridden using environment variables in the container.
- ``ENTRYPOINT_CONFIG`` overrides path of ``entrypoint-config.yml``
file.
- ``ENTRYPOINT_FORCE`` applies configuration and runs pre and post conf
commands even if the ``command`` provided is not handled.
- ``ENTRYPOINT_PRECONF_COMMAND`` run an extra pre conf shell command after
all pre conf commands.
- ``ENTRYPOINT_POSTCONF_COMMAND`` run an extra post conf shell command after
all post conf commands.
- ``ENTRYPOINT_DEBUG`` enables debug logs.
- ``ENTRYPOINT_RAW`` does not use logging to display pre and post conf
commands. This can be useful if output is serialized.
- ``ENTRYPOINT_DISABLE_RELOAD`` disable reload system even if it is enabled
in ``entrypoint-config.yml``.
- ``ENTRYPOINT_USER`` overrides ``user`` in config.
- ``ENTRYPOINT_GROUP`` overrides ``group`` in config.
2016-11-23 11:37:10 +00:00
- ``ENTRYPOINT_DISABLE_SERVICE`` exits container with 0 before doing anything. Useful to disable container using environement.