fix: use absolute volume path for homarr appdata
This commit is contained in:
@@ -1,19 +1,11 @@
|
|||||||
#---------------------------------------------------------------------#
|
|
||||||
# Homarr - A simple, yet powerful dashboard for your server. #
|
|
||||||
#---------------------------------------------------------------------#
|
|
||||||
services:
|
services:
|
||||||
homarr:
|
homarr:
|
||||||
container_name: homarr
|
container_name: homarr
|
||||||
image: ghcr.io/homarr-labs/homarr:latest
|
image: ghcr.io/homarr-labs/homarr:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
# Optional: Allows Homarr to show container status/controls
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /srv/docker/homarr/.homarr/appdata:/appdata
|
||||||
# Use relative paths (./) so the folder moves with the YAML file
|
|
||||||
- .homarr/appdata:/appdata
|
|
||||||
# - .homarr/icons:/app/apps/nextjs/public/images/apps
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- SECRET_ENCRYPTION_KEY=d1478a30f89d49cfe0599c38dcf061672b3e24e519957a83a1122768002d0357
|
- SECRET_ENCRYPTION_KEY=d1478a30f89d49cfe0599c38dcf061672b3e24e519957a83a1122768002d0357
|
||||||
- BASE_URL=http://192.168.88.111:7575
|
- BASE_URL=http://192.168.88.111:7575
|
||||||
|
|||||||
Reference in New Issue
Block a user