We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Although podman-compose passes the values in the env_file to the container, it ignores the value in the compose file
To Reproduce .env
SOME_ENV_VALUE=qqq
docker-compose.yml
version: "3.8" services: container: image: some_image env_file: - ./../.env environment: SOME_ENV: ${SOME_ENV_VALUE}
Expected behavior
root@7ad1edad1404:/var/www/html# echo $SOME_ENV qqq root@7ad1edad1404:/var/www/html# echo $SOME_ENV_VALUE qqq
Actual behavior
root@7ad1edad1404:/var/www/html# echo $SOME_ENV root@7ad1edad1404:/var/www/html# echo $SOME_ENV_VALUE qqq
Output
podman-compose version podman-compose version 1.0.7 podman version 4.9.3-dev
The text was updated successfully, but these errors were encountered:
include
.env
No branches or pull requests
Describe the bug
Although podman-compose passes the values in the env_file to the container, it ignores the value in the compose file
To Reproduce
.env
docker-compose.yml
Expected behavior
Actual behavior
Output
The text was updated successfully, but these errors were encountered: