Current design of soma.toml assumes that there is a main configuration. In multi-configuration scenario, files are implicitly copied into the main configuration instead of other subsidiary configurations.
name = "current-design"
[[executable]]
# Executable is implicitly copied into binary container instead of mysql container
[binary]
...
[mysql]
...
I suggest to move those file definitions into sub-configurations.
name = "new-design"
[binary]
[[binary.executable]]
...
[mysql]
...
The syntax becomes verboser, but it is more straightforward and explicit to users. It also removes the concept of main configuration, so users can freely compose whatever configurations they want.
Current design of
soma.toml
assumes that there is a main configuration. In multi-configuration scenario, files are implicitly copied into the main configuration instead of other subsidiary configurations.I suggest to move those file definitions into sub-configurations.
The syntax becomes verboser, but it is more straightforward and explicit to users. It also removes the concept of main configuration, so users can freely compose whatever configurations they want.