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
Basically, I want to keep the container-related files (eg. container-compose.yml, Containerfile) bundled in one directory (here: <repo_root>/container/) as much as possible.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear all,
Basically, I want to keep the container-related files (eg.
container-compose.yml
,Containerfile
) bundled in one directory (here:<repo_root>/container/
) as much as possible.Currently, however, this does not seem to be possible in my setup where I set the
COMPOSE_FILE
in my.env
. I've prepared a minimal repository: https://github.com/tombreit/podmancompose-hello-worldHow do I get podman-compose to have only the
.env
file in the repository root and other container-related files in<repo_root>/container
?I know that I can set the compose file on the command line (
-f
,--file
), but it would be nice if I could set this via.env
.Thank you very much for any hint or tip,
Thomas
Beta Was this translation helpful? Give feedback.
All reactions