3b5d102d21
gitea (STARTTLS + FORCE_TRUST_SERVER_CERT) and rallly (Nodemailer STARTTLS + SMTP_REJECT_UNAUTHORIZED=false) wired. Fixed rallly's non-existent 3.12.1 pin → 3.11.2. calcom/nextcloud/immich don't fit the mechanism (self-signed opportunistic-STARTTLS, split From, no-SMTP-env) — see FINDING doc in felhom.eu. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
79 lines
2.5 KiB
YAML
79 lines
2.5 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Gitea"
|
|
description: "Könnyű, saját Git szerver webes felülettel"
|
|
category: "dev"
|
|
subdomain: "git"
|
|
slug: "gitea"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "100M"
|
|
mem_limit: "512M"
|
|
pi_compatible: true
|
|
needs_hdd: false
|
|
|
|
# --- Deploy fields (first deployment only) ---
|
|
deploy_fields:
|
|
- env_var: DOMAIN
|
|
label: "Domain"
|
|
type: domain
|
|
description: "A szerver domain neve"
|
|
locked_after_deploy: true
|
|
|
|
- env_var: SUBDOMAIN
|
|
label: "Aldomain"
|
|
type: subdomain
|
|
default: "git"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Saját Git szerver - GitHub-szerű felület, privát repók"
|
|
docs_url: "https://docs.gitea.com/"
|
|
|
|
use_cases:
|
|
- 'Privát Git repozitóriók a saját szerveren'
|
|
- 'GitHub-szerű felület: pull request, issue, wiki'
|
|
- 'CI/CD pipeline-ok (Gitea Actions - GitHub Actions kompatibilis)'
|
|
- 'Szervezetek és csapatok kezelése'
|
|
- 'Container registry és csomagkezelő'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a git.DOMAIN címet a böngészőben'
|
|
- 'Kövesd az első beállítás varázslót'
|
|
- 'Hozd létre az admin fiókot'
|
|
- 'Hozd létre az első repozitóriót'
|
|
- 'Klónozd a repót: git clone https://git.DOMAIN/user/repo.git'
|
|
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 3000
|
|
# /api/healthz is always available (200) once serving; /api/v1/version 404s pre-install-lock.
|
|
path: "/api/healthz"
|
|
expect:
|
|
status: 200
|
|
|
|
# --- App-email mapping (apps → in-controller shim → hub → Resend) ---
|
|
# Gitea uses STARTTLS to the shim and trusts its self-signed cert via FORCE_TRUST_SERVER_CERT.
|
|
# Gitea applies GITEA__* env on every boot, so toggling app-email + redeploy takes effect. The From
|
|
# is Gitea's single GITEA__mailer__FROM; USER/PASSWD stay unset (the shim accepts no-auth).
|
|
smtp_mapping:
|
|
host_var: GITEA__mailer__SMTP_ADDR
|
|
port_var: GITEA__mailer__SMTP_PORT
|
|
security_var: GITEA__mailer__PROTOCOL
|
|
security_value: "smtp+starttls"
|
|
from_var: GITEA__mailer__FROM
|
|
from_local: gitea
|
|
extra:
|
|
GITEA__mailer__ENABLED: "true"
|
|
GITEA__mailer__FORCE_TRUST_SERVER_CERT: "true"
|