You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: docker compose support + env var config overrides (#19)
docker compose up gets the API running against MariaDB 11 on
node:22-trixie-slim. generate-env.sh creates .env with random
passwords, same convention as NicTool 2's generate-env.sh.
config.js now checks env vars (DB_HOST, DB_PASSWORD, HTTP_HOST,
etc.) after parsing TOML -- fully backwards compatible, the TOML
values are just defaults now. config tests save/clear/restore the
env vars so they should pass in both CI and docker.
init-mysql.sh picks up MYSQL_ROOT_PASSWORD when running inside
the mariadb container, prefers the mariadb client over mysql,
and supports DB_USER/DB_NAME/SQL_DIR env vars.
quick start:
./generate-env.sh && docker compose up --build
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments