25 lines
872 B
YAML
25 lines
872 B
YAML
services:
|
|
homeagent:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: homeagent
|
|
restart: unless-stopped
|
|
init: true
|
|
env_file:
|
|
- .env
|
|
extra_hosts:
|
|
# Allows reaching host services (e.g. local Ollama, SearXNG, local Gitea) via host.docker.internal
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
# Persistent data: sessions, global memory, scratchpad notes, tokens
|
|
- ./data:/app/data
|
|
# Skills and extensions mounted for customization without rebuilding
|
|
- ./skills:/app/skills:ro
|
|
- ./extensions:/app/extensions:ro
|
|
- ./gcal.json:/app/gcal.json:ro
|
|
# Uncomment to mount credentials files if placed in project root:
|
|
# - ./service_account.json:/app/service_account.json:ro
|
|
# - ./credentials.json:/app/credentials.json:ro
|
|
# - ./gcal.json:/app/gcal.json:ro
|