Compose: fixed host data path and root user so data persists across container recreation
build-container / build (push) Successful in 26s
build-container / build (push) Successful in 26s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ae29738cee
commit
690316e541
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -4,14 +4,14 @@ services:
|
||||
image: git.necloud.us/nate/money:latest
|
||||
container_name: money
|
||||
restart: unless-stopped
|
||||
user: $PUID:$PGID
|
||||
user: "0:0"
|
||||
ports:
|
||||
- target: 8765
|
||||
published: "8765"
|
||||
protocol: tcp
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /DATA/AppData/$AppID/data
|
||||
source: /DATA/AppData/money/data
|
||||
target: /data
|
||||
environment:
|
||||
- DATA_DIR=/data
|
||||
|
||||
Reference in new issue
Block a user