Initial infrastructure setup: Gitea + PostgreSQL + Actions Runner

This commit is contained in:
2026-01-29 18:48:00 +00:00
commit 32fd43ed18
4 changed files with 398 additions and 0 deletions

21
.env.example Normal file
View File

@@ -0,0 +1,21 @@
# Gitea Infrastructure Environment Variables
# Copy to .env and fill in values
# Domain
GITEA_DOMAIN=git.infra.donovankelly.xyz
# PostgreSQL
POSTGRES_USER=gitea
POSTGRES_PASSWORD=CHANGE_ME_generate_with_openssl_rand_hex_16
POSTGRES_DB=gitea
# Gitea Secrets (preserve from old instance's app.ini)
INTERNAL_TOKEN=
LFS_JWT_SECRET=
OAUTH2_JWT_SECRET=
SECRET_KEY=
# Gitea Actions Runner
# Generate after Gitea is running:
# docker exec gitea gitea actions generate-runner-token
RUNNER_REGISTRATION_TOKEN=REPLACE_ME_AFTER_FIRST_DEPLOY