You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Variable interpolation from .env file is not happening everywhere where expected. In the following excerpt for labels for a traefik frontend, the env-variable PROJECT_NAME is interpolated only at the right of the = character, but not on the left
To Reproduce
Take any podman-compose file you have available, add the labels like show above, and define the variables in your .env file. Start the container and observe the generated podman command or inspect the created container.
Environment:
OS: Ubuntu 22.04.2 LTS
podman version:
$ podman version
Version: 3.4.4
API Version: 3.4.4
Go Version: go1.17.3
Built: Thu Jan 1 00:00:00 1970
OS/Arch: linux/amd64
podman compose version:
$ podman-compose version
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 3.4.4
podman-compose version 1.0.6
podman --version
podman version 3.4.4
exit code: 0
The text was updated successfully, but these errors were encountered:
Describe the bug
Variable interpolation from
.env
file is not happening everywhere where expected. In the following excerpt for labels for a traefik frontend, the env-variablePROJECT_NAME
is interpolated only at the right of the=
character, but not on the leftWith
The actually resulting labels look like this:
Expected outcome would be:
To Reproduce
Take any podman-compose file you have available, add the labels like show above, and define the variables in your .env file. Start the container and observe the generated podman command or
inspect
the created container.Environment:
Ubuntu 22.04.2 LTS
The text was updated successfully, but these errors were encountered: