Compose: fixed host data path and root user so data persists across container recreation
build-container / build (push) Successful in 26s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 5.5 committed 2026-10-21 14:36:22 -04:00
1 parent ae29738cee
commit 690316e541
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ Add a repository secret `REGISTRY_TOKEN` (a Gitea access token with `write:packa
## Run with plain Docker ## Run with plain Docker
```bash ```bash
mkdir -p data && cp /path/to/Bills_Tracker.xlsx data/ mkdir -p data && cp /path/to/Bills_Tracker.xlsx data/
AppID=money PUID=1000 PGID=1000 TZ=America/New_York docker compose up -d # then edit the bind path in compose.yaml or symlink TZ=America/New_York docker compose up -d # data is stored in /DATA/AppData/money/data on the host
``` ```
## Starting fresh ## Starting fresh
+2 -2
View File
@@ -4,14 +4,14 @@ services:
image: git.necloud.us/nate/money:latest image: git.necloud.us/nate/money:latest
container_name: money container_name: money
restart: unless-stopped restart: unless-stopped
user: $PUID:$PGID user: "0:0"
ports: ports:
- target: 8765 - target: 8765
published: "8765" published: "8765"
protocol: tcp protocol: tcp
volumes: volumes:
- type: bind - type: bind
source: /DATA/AppData/$AppID/data source: /DATA/AppData/money/data
target: /data target: /data
environment: environment:
- DATA_DIR=/data - DATA_DIR=/data