-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 1011 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (30 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
openheim:
build:
context: .
dockerfile: Dockerfile
container_name: openheim-agent
ports:
- "8080:8080"
environment:
- RUST_LOG=info
# API keys are read from config.toml, but can also be set here
# and referenced via env_var in your config
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
restart: unless-stopped
volumes:
# Config directory - mount your own config.toml here
# If not provided, a default config will be created on first run
- openheim-config:/home/openheim/.openheim
# Dev: Mount local config for development
# - ./config.toml:/home/openheim/.openheim/config.toml:ro
# Persistent storage for workspace directory
- openheim-workspace:/workspace
# Dev: Mount local workspace for easy file access during development
# - ./workspace:/workspace
volumes:
openheim-config:
driver: local
openheim-workspace:
driver: local