mirror of
https://github.com/runcitadel/core.git
synced 2024-11-12 00:39:53 +00:00
Fix generation for app.yml v2
This commit is contained in:
parent
689b27bb1b
commit
4eab1ee699
|
@ -15,8 +15,6 @@ def getMainContainer(app: App) -> Container:
|
|||
if len(app.containers) == 1:
|
||||
return app.containers[0]
|
||||
else:
|
||||
if not app.metadata.mainContainer:
|
||||
app.metadata.mainContainer = 'main'
|
||||
for container in app.containers:
|
||||
# Main is recommended, support web for easier porting from Umbrel
|
||||
if container.name == 'main' or container.name == 'web':
|
||||
|
|
Loading…
Reference in New Issue
Block a user