This works, but only until the app is updated. When an update is applied, the docker-compose.yml file is reset to its default state, and all manual modifications are lost. This makes it necessary to manually reapply changes after every update.
In my case, I mainly modify the path to the app’s data in volumes section, but it seems like no one else is dealing with this issue?