fix: use bind mount for persistent data on ZimaOS
Replace named volume with direct bind mount to /media/ZimaOS-HD/AppData/Prayer/Data so data survives container recreation without relying on Docker volume management.
This commit is contained in:
1 file changed
+1
-5
+1
-5
@@ -6,7 +6,7 @@ services:
|
||||
ports:
|
||||
- "3000:4000"
|
||||
volumes:
|
||||
- prayer-data:/data
|
||||
- /media/ZimaOS-HD/AppData/Prayer/Data:/data
|
||||
environment:
|
||||
- DATA_DIR=/data
|
||||
- PORT=4000
|
||||
@@ -16,7 +16,3 @@ services:
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
prayer-data:
|
||||
driver: local
|
||||
Reference in new issue
Block a user