mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-06-24 02:01:03 -04:00
cce3b4528d
DATABASE_DIR fix (08-gitea.sh): DATABASE_SERVICE_TYPE="sqlite" triggers a generic block that appends /$SERVER_NAME to /data/db/sqlite. Before the SERVER_NAME fix that was empty giving /data/db/sqlite//gitea.db; even after it would be /data/db/sqlite/<hostname> not under DATA_DIR. Re-pin DATABASE_DIR to $DATA_DIR/db/sqlite after the generic block. README rewrite: - Full env var reference table (GITEA_SERVER, GITEA_PROTO, GITEA_NAME, GITEA_ADMIN, GITEA_EMAIL_*, GITEA_SQL_*, ACT_RUNNER_FALLBACK_VERSION, RUNNERS_START, DOMAIN, DEBUGGER) - Volume and port tables - Production notes: --privileged required, GITEA_SERVER must be set, mailer disabled by default, DNS override explained - Canonical section order: Docker → Development → License - README.md: full rewrite with env vars, volumes, ports, and production notes - rootfs/usr/local/etc/docker/init.d/08-gitea.sh: fix DATABASE_DIR to always use $DATA_DIR/db/sqlite README.md rootfs/usr/local/etc/docker/init.d/08-gitea.sh