services: homeagent: build: context: . dockerfile: Dockerfile container_name: homeagent restart: unless-stopped init: true user: "${HOST_UID:-1000}:${HOST_GID:-1000}" env_file: - .env environment: # Application path inside the container; this must match the mount target. DATA_DIR: /app/data HOME: /homeagent extra_hosts: - "host.docker.internal:host-gateway" volumes: # Override DATA_DIR_HOST in .env for a path outside the project directory. - "${DATA_DIR_HOST:-./data}:/app/data" - ./skills:/app/skills:ro - ./extensions:/app/extensions:ro - ./gcal.json:/app/gcal.json:ro # Host Antigravity CLI (`agy`) binary and auth/state directory (~/.gemini). # Override in .env if `agy` is in another path (e.g. ~/.local/bin/agy) or under sudo/systemd. - "${ANTIGRAVITY_BIN_HOST:-/usr/bin/agy}:/usr/local/bin/agy:ro" - "${ANTIGRAVITY_HOME_HOST:-${HOME}/.gemini}:/homeagent/.gemini"