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:
|
services:
|
||||||
truenas-mcp:
|
truenas-mcp:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: /mnt/ssd/apps/mcp/truenas
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: truenas-mcp
|
container_name: truenas-mcp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -15,4 +15,4 @@ services:
|
|||||||
TRUENAS_ENABLE_DESTRUCTIVE_OPS: "false"
|
TRUENAS_ENABLE_DESTRUCTIVE_OPS: "false"
|
||||||
TRUENAS_LOG_LEVEL: "INFO"
|
TRUENAS_LOG_LEVEL: "INFO"
|
||||||
volumes:
|
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