2025-08-20, 08:19 AM
(This post was last modified: 2025-08-20, 08:34 AM by visualblind. Edited 3 times in total.)
(2025-08-20, 08:07 AM)v0rt Wrote:Code:version: "3.7"
volumes:
- data:/config
- data:/cache
volumes:
data:
For one thing you are never suppose to use the same volume for both the /config and /cache internal directories.
I believe the official recommendation is to use bind mounts for the config/cache directories. The way you're doing it now is letting Docker obfuscate that away and it sounds like there's a problem regarding the containers ability to properly read the config files (most likely since you're using a single volume for both /config and /cache) since you stated your instance looses that information upon upgrading.
If you are hell-bent on using docker volumes instead of bind mounts, then use a different volume for each path:
Code:
volumes:
- config:/config
- cache:/cache
volumes:
config:
cache:
My recommendation is to read the docs completely, then start over from scratch.