gitea/custom: the old factory's home page and dashboard, ported to Gitea 28. The signed-out home is Teahub = Git + Tea + Time beside the cup; the dashboard keeps the feed and puts Domains | Repository | Organization above the contribution heatmap. Green tea colours for Gitea's light, dark and auto themes, and the 🍵 mark. gitea/sync-custom.sh puts it on green-tea's volume; gitea/fly.toml names the site Teahub and sets the meta tags. mcp 2.2: GET /domains, the old factory's Cloudflare Registrar search (a live check of the exact names, suggestions, prices). Only GITEA_URL may read it from a browser; 8 searches a minute per client and 20 in all; answers kept ten minutes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CYHXFvWMCs1GUmRmpySqQ6
52 lines
2.0 KiB
TOML
52 lines
2.0 KiB
TOML
# Teahub prod's Gitea: Fly app green-tea, https://teahub.xyz. Deploy from this directory with `fly deploy -a green-tea`.
|
|
# The image is an exact release. To upgrade: snapshot the gitea_data volume, change the tag here, deploy, read the
|
|
# migration log. A migrated database can't go back to an older image; restoring the snapshot is the way back.
|
|
app = "green-tea"
|
|
primary_region = "iad"
|
|
[build]
|
|
image = "docker.gitea.com/gitea:28.0.0"
|
|
[env]
|
|
# The name and the meta tags. The rest of the look is gitea/custom, put on the volume by sync-custom.sh.
|
|
GITEA____APP_NAME = "Teahub"
|
|
GITEA__ui_0X2E_meta__AUTHOR = "Teahub"
|
|
GITEA__ui_0X2E_meta__DESCRIPTION = "Git + Tea + Time"
|
|
GITEA__ui_0X2E_meta__KEYWORDS = "teahub,git,tea,time"
|
|
GITEA__server__ROOT_URL = "https://teahub.xyz/"
|
|
GITEA__server__DOMAIN = "teahub.xyz"
|
|
GITEA__server__HTTP_PORT = "3000"
|
|
GITEA__server__SSH_DOMAIN = "teahub.xyz"
|
|
GITEA__server__SSH_PORT = "2222"
|
|
GITEA__server__START_SSH_SERVER = "false"
|
|
SSH_LISTEN_PORT = "2222"
|
|
GITEA__server__SSH_LISTEN_PORT = "2222"
|
|
GITEA__database__DB_TYPE = "sqlite3"
|
|
GITEA__database__PATH = "/data/gitea/gitea.db"
|
|
GITEA__service__DISABLE_REGISTRATION = "false"
|
|
GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION = "true"
|
|
GITEA__security__INSTALL_LOCK = "true"
|
|
GITEA__oauth2_client__ENABLE_AUTO_REGISTRATION = "true"
|
|
GITEA__oauth2_client__USERNAME = "nickname"
|
|
GITEA__oauth2_client__ACCOUNT_LINKING = "auto"
|
|
GITEA__oauth2_client__REGISTER_EMAIL_CONFIRM = "false"
|
|
GITEA__oauth2_client__UPDATE_AVATAR = "true"
|
|
GITEA__mirror__ENABLED = "true"
|
|
GITEA__actions__ENABLED = "true"
|
|
GITEA__repository__DISABLE_HTTP_GIT = "false"
|
|
[mounts]
|
|
source = "gitea_data"
|
|
destination = "/data"
|
|
[http_service]
|
|
internal_port = 3000
|
|
force_https = true
|
|
auto_stop_machines = "off"
|
|
auto_start_machines = true
|
|
min_machines_running = 1
|
|
[[services]]
|
|
protocol = "tcp"
|
|
internal_port = 2222
|
|
[[services.ports]]
|
|
port = 2222
|
|
[[vm]]
|
|
size = "shared-cpu-1x"
|
|
memory = "512mb"
|