Skip to content

Modern Docker Management, Designed for Everyone

fix: use uid/gid 200 in container (#156)

Kyle Mendellbae85aeb6505
diff --git a/Dockerfile b/Dockerfile
index 9e4c1d1dc..8a70b08e7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,7 +26,7 @@ WORKDIR /app
# Set up environment variables early for better caching
# These will serve as defaults if not overridden in docker-compose.yml
-ENV DOCKER_GID=998 PUID=1000 PGID=1000
+ENV DOCKER_GID=998 PUID=2000 PGID=2000
# Set up directories and permissions
RUN mkdir -p /app/data && chmod 755 /app/data
diff --git a/scripts/docker/entrypoint.sh b/scripts/docker/entrypoint.sh
index fe3508dab..a0e15d92a 100644
--- a/scripts/docker/entrypoint.sh
+++ b/scripts/docker/entrypoint.sh
@@ -11,8 +11,8 @@ fi
echo "Entrypoint: Setting up user and permissions..."
# Default PUID/PGID if not provided
-PUID=${PUID:-1000}
-PGID=${PGID:-1000}
+PUID=${PUID:-2000}
+PGID=${PGID:-2000}
DOCKER_GID=${DOCKER_GID:-998}
APP_USER="arcane"
APP_GROUP_FALLBACK="arcane" # Fallback group name if PGID group exists with different name