This commit is contained in:
Arunavo Ray
2025-10-22 09:40:32 +05:30
parent b65c360d61
commit e470256475
2 changed files with 4 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ services:
# === ABSOLUTELY REQUIRED === # === ABSOLUTELY REQUIRED ===
# This MUST be set and CANNOT be changed via UI # This MUST be set and CANNOT be changed via UI
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET} # Min 32 chars, required for sessions - BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET} # Min 32 chars, required for sessions
- BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://localhost:4321}
- BETTER_AUTH_TRUSTED_ORIGINS=${BETTER_AUTH_TRUSTED_ORIGINS:-http://localhost:4321}
# === CORE SETTINGS === # === CORE SETTINGS ===
# These are technically required but have working defaults # These are technically required but have working defaults
@@ -23,7 +25,7 @@ services:
- DATABASE_URL=file:data/gitea-mirror.db - DATABASE_URL=file:data/gitea-mirror.db
- HOST=0.0.0.0 - HOST=0.0.0.0
- PORT=4321 - PORT=4321
- BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://localhost:4321} - PUBLIC_BETTER_AUTH_URL=${PUBLIC_BETTER_AUTH_URL:-http://localhost:4321}
healthcheck: healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=3", "--spider", "http://localhost:4321/api/health"] test: ["CMD", "wget", "--no-verbose", "--tries=3", "--spider", "http://localhost:4321/api/health"]

View File

@@ -1,7 +1,7 @@
{ {
"name": "gitea-mirror", "name": "gitea-mirror",
"type": "module", "type": "module",
"version": "3.8.4", "version": "3.8.5",
"engines": { "engines": {
"bun": ">=1.2.9" "bun": ">=1.2.9"
}, },