Files
parentcalendar/compose.example.yml
T

19 lines
625 B
YAML

# Copy to compose.yml, and copy .env.example to .env. Then: docker compose up -d --build
services:
parentcalendar:
build: .
restart: unless-stopped
env_file: .env
environment:
DATA_DIR: /data
HOST: 0.0.0.0
# Lets OLLAMA_URL=http://host.docker.internal:11434 reach an Ollama running on this machine (Linux too).
extra_hosts:
- "host.docker.internal:host-gateway"
# Only this machine can reach it; put nginx (HTTPS) in front.
ports:
- "127.0.0.1:8000:8000"
# The container runs as uid 1000; on Linux, `sudo chown 1000 data` first.
volumes:
- ./data:/data