fix: use absolute volume path for homarr appdata

This commit is contained in:
2026-05-07 13:17:31 +00:00
parent 4f4993afa8
commit ab84a27e06
+1 -9
View File
@@ -1,19 +1,11 @@
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
volumes:
# Optional: Allows Homarr to show container status/controls
- /var/run/docker.sock:/var/run/docker.sock
# Use relative paths (./) so the folder moves with the YAML file
- .homarr/appdata:/appdata
# - .homarr/icons:/app/apps/nextjs/public/images/apps
- /srv/docker/homarr/.homarr/appdata:/appdata
environment:
- SECRET_ENCRYPTION_KEY=d1478a30f89d49cfe0599c38dcf061672b3e24e519957a83a1122768002d0357
- BASE_URL=http://192.168.88.111:7575