Fix: use absolute paths for build.context and volumes (relative '.' is unreliable under Dockge on TrueNAS SCALE)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user