d92d67ebdc
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
539 B
YAML
23 lines
539 B
YAML
services:
|
|
farm-agent:
|
|
image: 127.0.0.1:5050/farm-agent:latest
|
|
container_name: farm-agent
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8889:8889"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
mem_limit: 128M
|
|
memswap_limit: 128M
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -sf http://localhost:8889/health || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 15s
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "50m"
|
|
max-file: "3"
|