forked from extern/podman-compose
FIXES #249: update dotenv with some envs
This commit is contained in:
parent
f6a3cb0aff
commit
ab96f12dba
@ -875,6 +875,14 @@ class PodmanCompose:
|
||||
dotenv_dict = dict([l.split("=", 1) for l in dotenv_ls if "=" in l])
|
||||
else:
|
||||
dotenv_dict = {}
|
||||
# TODO: should read and respect those env variables
|
||||
# see: https://docs.docker.com/compose/reference/envvars/
|
||||
# see: https://docs.docker.com/compose/env-file/
|
||||
dotenv_dict.update({
|
||||
"COMPOSE_FILE": filename,
|
||||
"COMPOSE_PROJECT_NAME": self.project_name,
|
||||
"COMPOSE_PATH_SEPARATOR": ":",
|
||||
})
|
||||
compose = {'_dirname': dirname}
|
||||
for filename in files:
|
||||
with open(filename, 'r') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user