Files
AgapHost/mood/Dockerfile
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

14 lines
385 B
Docker

# Stdlib only (sqlite3 + argparse + csv) — no pip install needed.
FROM python:3.12-slim
WORKDIR /app
COPY schema.sql ./schema.sql
COPY src ./src
ENV MOOD_DB_PATH=/data/mood_archive.sqlite \
MOOD_SOURCE_DB_PATH=/source/moodtracker/mood.db \
PYTHONUNBUFFERED=1
# Long-lived service: cli.py `sync` loops on MOOD_SYNC_INTERVAL_SECONDS.
CMD ["python", "-m", "src.cli", "sync"]