From 28cfb6f5e1e23aafd9ccde1a4d4502fd20479795 Mon Sep 17 00:00:00 2001 From: uprightbass360 Date: Wed, 29 Oct 2025 17:50:18 -0400 Subject: [PATCH] fix: permissions --- docker-compose.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 05ec7fb..68ffdee 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -520,9 +520,9 @@ services: # ===================== ac-modules: profiles: ["modules"] - image: ${ALPINE_GIT_IMAGE} + image: ${ALPINE_IMAGE} container_name: ${CONTAINER_MODULES} - user: "${CONTAINER_USER}" + user: "0:0" depends_on: ac-mysql: condition: service_healthy @@ -590,7 +590,11 @@ services: command: - -c - | - apk add --no-cache curl bash && (chmod +x /tmp/scripts/manage-modules.sh /tmp/scripts/manage-modules-sql.sh 2>/dev/null || true) && /tmp/scripts/manage-modules.sh + apk add --no-cache curl bash git + (chmod +x /tmp/scripts/manage-modules.sh /tmp/scripts/manage-modules-sql.sh 2>/dev/null || true) && /tmp/scripts/manage-modules.sh + # Fix permissions after module operations + chown -R ${CONTAINER_USER} /modules /azerothcore/env/dist/etc 2>/dev/null || true + chmod -R 755 /modules /azerothcore/env/dist/etc 2>/dev/null || true restart: "no" networks: - azerothcore