From 04155d0d09800606ae71c2487ef72a881235ee4a Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Wed, 11 Jun 2025 22:31:26 +0300 Subject: [PATCH] Add documentation for env variables Signed-off-by: Povilas Kanapickas --- docs/Extensions.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/Extensions.md b/docs/Extensions.md index c4adf80..b4ee8a1 100644 --- a/docs/Extensions.md +++ b/docs/Extensions.md @@ -156,6 +156,9 @@ x-podman: By default `default_net_name_compat` is `false`. This will change to `true` at some point and the setting will be removed. +This setting can also be changed by setting `PODMAN_COMPOSE_DEFAULT_NET_NAME_COMPAT` environment +variable. + ## Compatibility of default network behavior between docker-compose and podman-compose When there is no network defined (neither network-mode nor networks) in service, @@ -176,6 +179,9 @@ x-podman: default_net_behavior_compat: true ``` +This setting can also be changed by setting `PODMAN_COMPOSE_DEFAULT_NET_BEHAVIOR_COMPAT` environment +variable. + ## Custom pods management Podman-compose can have containers in pods. This can be controlled by extension key x-podman in_pod. @@ -195,6 +201,9 @@ x-podman: in_pod: false ``` +This setting can also be changed by setting `PODMAN_COMPOSE_IN_POD` environment +variable. + It is also possible to override the default arguments for pod creation that are used when --pod-args is not passed on the command line: ```yml @@ -208,3 +217,6 @@ x-podman: ``` When not set in docker-compose.yml or on the command line, the pod args default to `["--infra=false", "--share="]`. + +This setting can also be changed by setting `PODMAN_COMPOSE_POD_ARGS` environment +variable. \ No newline at end of file