Files
laimiaoai-agent-new/docker-compose.yml
T
light 6ec9778d45 chore: initial commit
Laimiao agent v2 service: agent orchestration, sessions, billing,
gateway client, skills catalog, auth, config, plus tests.
2026-11-07 10:40:07 +08:00

40 lines
802 B
YAML

services:
agent:
build: .
image: laimiao-agent:latest
init: true
restart: unless-stopped
env_file:
- .env
environment:
NODE_ENV: production
HOST: 0.0.0.0
PORT: "8100"
DATA_DIR: /app/data
ports:
- "127.0.0.1:8100:8100"
read_only: true
tmpfs:
- /tmp:rw,noexec,nosuid,nodev,size=64m
volumes:
- agent-data:/app/data
user: "1000:1000"
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
pids_limit: 256
healthcheck:
test:
- CMD
- node
- -e
- "fetch('http://127.0.0.1:8100/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
volumes:
agent-data: