fix container ownership for shared mounts

This commit is contained in:
Deckard
2025-10-12 23:51:16 -04:00
parent 7d9fbc29fd
commit a4dacf89e0
3 changed files with 7 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ services:
image: ${ALPINE_GIT_IMAGE}
pull_policy: ${IMAGE_PULL_POLICY}
container_name: ${CONTAINER_MODULES}
user: "0:0" # Run as root to handle NFS permissions
user: "${CONTAINER_USER}" # Use mapped user for NFS compatibility
volumes:
- ${STORAGE_PATH}/modules:/modules
- ${STORAGE_PATH}/config:/azerothcore/env/dist/etc