galaxis-agent/docker-compose.yml
머니페니 94edb45c86 chore: add langgraph-server to docker-compose (ARM64 verified)
langchain/langgraph-api:3.11 pulls and runs on ARM64.
Uses SQLite for local state management.
2026-03-20 17:46:29 +09:00

61 lines
1.2 KiB
YAML

services:
docker-socket-proxy:
image: tecnativa/docker-socket-proxy:latest
environment:
- CONTAINERS=1
- POST=1
- EXEC=1
- IMAGES=1
- NETWORKS=0
- VOLUMES=0
- SERVICES=0
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- galaxis-net
restart: unless-stopped
galaxis-agent:
build: .
image: galaxis-agent:latest
restart: unless-stopped
user: "1000:1000"
ports:
- "8100:8000"
env_file: .env
environment:
- DOCKER_HOST=tcp://docker-socket-proxy:2375
volumes:
- uv-cache:/cache/uv
- npm-cache:/cache/npm
- agent-data:/data
networks:
- galaxis-net
depends_on:
- docker-socket-proxy
langgraph-server:
image: langchain/langgraph-api:3.11
environment:
- DATABASE_URI=sqlite:///data/langgraph.db
volumes:
- langgraph-data:/data
networks:
- galaxis-net
restart: unless-stopped
deploy:
resources:
limits:
cpus: "0.5"
memory: 1G
networks:
galaxis-net:
external: true
volumes:
uv-cache:
npm-cache:
agent-data:
langgraph-data: