mirror of
https://github.com/containers/podman-compose.git
synced 2025-06-20 03:37:47 +02:00
Add documentation for env variables
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
parent
605495233e
commit
04155d0d09
@ -156,6 +156,9 @@ x-podman:
|
|||||||
By default `default_net_name_compat` is `false`. This will change to `true` at some point and the
|
By default `default_net_name_compat` is `false`. This will change to `true` at some point and the
|
||||||
setting will be removed.
|
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
|
## Compatibility of default network behavior between docker-compose and podman-compose
|
||||||
|
|
||||||
When there is no network defined (neither network-mode nor networks) in service,
|
When there is no network defined (neither network-mode nor networks) in service,
|
||||||
@ -176,6 +179,9 @@ x-podman:
|
|||||||
default_net_behavior_compat: true
|
default_net_behavior_compat: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This setting can also be changed by setting `PODMAN_COMPOSE_DEFAULT_NET_BEHAVIOR_COMPAT` environment
|
||||||
|
variable.
|
||||||
|
|
||||||
## Custom pods management
|
## Custom pods management
|
||||||
|
|
||||||
Podman-compose can have containers in pods. This can be controlled by extension key x-podman in_pod.
|
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
|
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
|
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:
|
used when --pod-args is not passed on the command line:
|
||||||
```yml
|
```yml
|
||||||
@ -208,3 +217,6 @@ x-podman:
|
|||||||
```
|
```
|
||||||
When not set in docker-compose.yml or on the command line, the pod args default
|
When not set in docker-compose.yml or on the command line, the pod args default
|
||||||
to `["--infra=false", "--share="]`.
|
to `["--infra=false", "--share="]`.
|
||||||
|
|
||||||
|
This setting can also be changed by setting `PODMAN_COMPOSE_POD_ARGS` environment
|
||||||
|
variable.
|
Loading…
x
Reference in New Issue
Block a user