mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
fix(entrypoint): add chmod 777 on /app/recordings for Unraid nobody:users shares + update default recordings path
This commit is contained in:
1 parent
424019d01a
commit
0d2ad322fe
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ services:
|
||||
# Pour changer: modifiez le chemin avant les deux points ":"
|
||||
# Exemple Windows : - D:\MesVideos\TV:/app/recordings
|
||||
# Exemple Linux : - /mnt/nas/videos:/app/recordings
|
||||
- ${RECORDINGS_PATH:-./data/recordings}:/app/recordings
|
||||
- ${RECORDINGS_PATH:-/mnt/user/Data/Sport}:/app/recordings
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
|
||||
@@ -11,6 +11,8 @@ chown -R xtremuser:xtremuser /app/data 2>/dev/null || true
|
||||
# Create subdirectories if they don't exist
|
||||
mkdir -p /app/data/logs /app/data/tmp /app/recordings
|
||||
chown -R xtremuser:xtremuser /app/data/logs /app/data/tmp /app/recordings 2>/dev/null || true
|
||||
# Garantir les permissions en écriture même si chown échoue (volume monté depuis l'hôte)
|
||||
chmod -R 777 /app/recordings 2>/dev/null || true
|
||||
|
||||
# Drop privileges and run the server as xtremuser
|
||||
echo "Starting server as xtremuser..."
|
||||
|
||||
Reference in new issue
Block a user