add docker compose

This commit is contained in:
timka123 committed 2026-11-07 22:45:29 +03:00
1 parent 5eea9d0f2c
commit aa8b044905
5 files changed
+169 -25

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
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
# 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