19 lines
474 B
YAML
19 lines
474 B
YAML
services:
|
|
cerbero-mcp:
|
|
image: cerbero-mcp:2.0.0
|
|
build: .
|
|
container_name: cerbero-mcp
|
|
ports:
|
|
- "${PORT:-9000}:${PORT:-9000}"
|
|
env_file: .env
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test:
|
|
- "CMD"
|
|
- "python"
|
|
- "-c"
|
|
- "import os, urllib.request; urllib.request.urlopen(f'http://localhost:{os.environ.get(\"PORT\",\"9000\")}/health', timeout=3).close()"
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|