You can specify a folder in your files for configs, and a different one for the compose and env:
- config
- <container_config>
- docker
- container
- compose.yml
Edit: then you can map your volume not to ./config:/config but instead to /config/containerName:/config


Yup! Here’s my setup:
https://github.com/shadybraden/compose/blob/main/kiwix/compose.yaml