Files
AgapHost/mood/docker-compose.yml
alvis d37801806d services: add mood, moodtracker, overleaf, personal-sensing; update ollama
Compose and supporting code for four services that had been running or
prototyped without their config tracked here, per the repo convention that
agap_git holds the compose + config while application source lives in each
service's own Gitea repo.

Only placeholder credentials are included: mood/.env.example and
moodtracker/.env.example ship dummy values, and overleaf/variables.env carries
app name and feature flags only. Real values stay in Vaultwarden.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 04:42:58 +00:00

22 lines
809 B
YAML

services:
mood-archive:
build: .
container_name: mood-archive
restart: unless-stopped
environment:
TZ: Europe/Moscow
MOOD_DB_PATH: /data/mood_archive.sqlite
MOOD_SOURCE_DB_PATH: /source/moodtracker/mood.db
# Manual-entry data; hourly polling is more than enough (local file read).
MOOD_SYNC_INTERVAL_SECONDS: ${MOOD_SYNC_INTERVAL_SECONDS:-3600}
MOOD_OVERLAP_ROWS: ${MOOD_OVERLAP_ROWS:-3}
volumes:
# Local mood archive lives alongside the other Agap databases.
- /mnt/dbs/mood:/data
# moodtracker's own SQLite file, READ-ONLY — no credentials, no HTTP,
# no risk of this service ever writing into the live app's DB.
- /home/alvis/moodtracker/data:/source/moodtracker:ro
logging:
options:
max-size: 10m