Files
barsic/docker-compose.yml

22 lines
614 B
YAML

services:
homeagent:
build:
context: .
dockerfile: Dockerfile
container_name: homeagent
restart: unless-stopped
init: true
env_file:
- .env
environment:
# Application path inside the container; this must match the mount target.
DATA_DIR: /app/data
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