Improve setup'
This commit is contained in:
@@ -52,18 +52,15 @@ services:
|
|||||||
dockerfile: Dockerfile.mcpbox
|
dockerfile: Dockerfile.mcpbox
|
||||||
ports:
|
ports:
|
||||||
- "8080"
|
- "8080"
|
||||||
environment:
|
|
||||||
- DEBUG=true
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./volqumes/mcpbox:/app/data
|
- ./volumes/mcpbox:/app/data
|
||||||
|
# share docker socket if you want it to be able to run docker commands
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-q", "-O", "-", "http://localhost:8080/processes"]
|
test: ["CMD", "wget", "-q", "-O", "-", "http://localhost:8080/processes"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
depends_on:
|
|
||||||
localai:
|
|
||||||
condition: service_healthy
|
|
||||||
|
|
||||||
localagi:
|
localagi:
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user