Fix: use absolute paths for build.context and volumes (relative '.' is unreliable under Dockge on TrueNAS SCALE)

This commit is contained in:
2026-08-28 17:51:43 +03:00
parent 8321db6adf
commit f8a531cc66
+2 -2
View File
@@ -1,7 +1,7 @@
services:
truenas-mcp:
build:
context: .
context: /mnt/ssd/apps/mcp/truenas
dockerfile: Dockerfile
container_name: truenas-mcp
restart: unless-stopped
@@ -15,4 +15,4 @@ services:
TRUENAS_ENABLE_DESTRUCTIVE_OPS: "false"
TRUENAS_LOG_LEVEL: "INFO"
volumes:
- ./config.json:/app/config.json:ro
- /mnt/ssd/apps/mcp/truenas/config.json:/app/config.json:ro