Use same PUID PGID

This commit is contained in:
Alexandre
2025-01-13 13:50:57 +01:00
committed by GitHub
parent 47ff798b49
commit 2d42cc3eaa

View File

@@ -42,7 +42,11 @@ echo "... using data folder $DATA_LOCATION"
echo -n "$DATA_LOCATION" > "$DATA_LOCATION_FILE"
# Update entrypoint
# Correct data directory
sed -i "s|DATA_DIR = os.path.join(ROOT, \"data\")|DATA_DIR = \"$DATA_LOCATION\"|" /docker-entrypoint.py
# Correct default PUID/PGID
sed -i "s|\"PUID\", \"33\"|\"PUID\", \"${PUID:-1000}\"|" /docker-entrypoint.py
sed -i "s|\"PGID\", \"33\"|\"PGID\", \"${PGID:-1000}\"|" /docker-entrypoint.py
# Creating symlinks
echo "... creating symlinks"