mirror of
https://github.com/containers/podman-compose.git
synced 2025-01-14 18:08:44 +01:00
make -t work and implement many tranforms
This commit is contained in:
parent
b99e7333f4
commit
46dd9b0e02
@ -139,7 +139,7 @@ def tr_cntnet(project_name, services, given_containers):
|
|||||||
cnt=dict(cnt0, network_mode="container:"+infra_name)
|
cnt=dict(cnt0, network_mode="container:"+infra_name)
|
||||||
deps=cnt.get("depends") or []
|
deps=cnt.get("depends") or []
|
||||||
deps.append(infra_name)
|
deps.append(infra_name)
|
||||||
dnt["depends"]=deps
|
cnt["depends"]=deps
|
||||||
# adjust hosts to point to localhost, TODO: adjust host env
|
# adjust hosts to point to localhost, TODO: adjust host env
|
||||||
adj_hosts(services, cnt, '127.0.0.1')
|
adj_hosts(services, cnt, '127.0.0.1')
|
||||||
# TODO: do we need to move port publishing to infra
|
# TODO: do we need to move port publishing to infra
|
||||||
|
Loading…
Reference in New Issue
Block a user