fix : mount /var/www as /mnt/apps to avoid conflict with /var/www/html

Host /var/www contains all apps. Mounting it at /mnt/apps avoids
overwriting the container's /var/www/html where Central lives.
App paths in the UI should use /mnt/apps/ prefix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 17:15:39 +02:00
parent 061ab13d2b
commit 8481fe8fef

View File

@@ -9,9 +9,7 @@ services:
- ./config/jwt:/var/www/html/config/jwt:ro
- ./uploads:/var/www/html/var/uploads
- /var/run/docker.sock:/var/run/docker.sock
- /var/www/sirh:/var/www/sirh
- /var/www/lesstime:/var/www/lesstime
- /var/www/inventory:/var/www/inventory
- /var/www:/mnt/apps
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped