Some checks failed
🚀 Build & Deploy Image / Determine Build Necessity (push) Failing after 10m14s
🚀 Build & Deploy Image / Build Runtime Base Image (push) Has been skipped
🚀 Build & Deploy Image / Build Docker Image (push) Has been skipped
🚀 Build & Deploy Image / Run Tests & Quality Checks (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Staging (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Production (push) Has been skipped
Security Vulnerability Scan / Check for Dependency Changes (push) Failing after 11m25s
Security Vulnerability Scan / Composer Security Audit (push) Has been cancelled
- Remove middleware reference from Gitea Traefik labels (caused routing issues) - Optimize Gitea connection pool settings (MAX_IDLE_CONNS=30, authentication_timeout=180s) - Add explicit service reference in Traefik labels - Fix intermittent 504 timeouts by improving PostgreSQL connection handling Fixes Gitea unreachability via git.michaelschiemer.de
62 lines
2.1 KiB
Django/Jinja
62 lines
2.1 KiB
Django/Jinja
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Gitea Configuration File - Minimal Version
|
|
;; Generated by Ansible - DO NOT EDIT MANUALLY
|
|
;;
|
|
;; IMPORTANT: This is a minimal configuration. Cache, Session, Queue, and other
|
|
;; settings are controlled via GITEA__... environment variables in docker-compose.yml
|
|
;; which override these settings on every container start.
|
|
;;
|
|
;; Only essential values are included here to skip installation and enable basic functionality.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
APP_NAME = Gitea: Git with a cup of tea
|
|
RUN_MODE = prod
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Server Configuration
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
[server]
|
|
PROTOCOL = http
|
|
DOMAIN = {{ gitea_domain }}
|
|
HTTP_ADDR = 0.0.0.0
|
|
HTTP_PORT = 3000
|
|
ROOT_URL = https://{{ gitea_domain }}/
|
|
DISABLE_SSH = false
|
|
START_SSH_SERVER = false
|
|
SSH_DOMAIN = {{ gitea_domain }}
|
|
SSH_PORT = {{ ssh_port | default(2222) }}
|
|
SSH_LISTEN_PORT = {{ ssh_listen_port | default(2222) }}
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Database Configuration
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
[database]
|
|
DB_TYPE = postgres
|
|
HOST = postgres:5432
|
|
NAME = {{ postgres_db | default('gitea') }}
|
|
USER = {{ postgres_user | default('gitea') }}
|
|
PASSWD = {{ postgres_password | default('gitea_password') }}
|
|
SSL_MODE = disable
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Security Configuration
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Service Configuration
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
[service]
|
|
DISABLE_REGISTRATION = {{ disable_registration | default(true) | lower }}
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Actions Configuration
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
[actions]
|
|
ENABLED = true
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Cache Configuration
|
|
;; NOTE: Cache configuration is controlled via GITEA__cache__ environment variables
|
|
;; in docker-compose.yml. Do NOT add [cache] section here, as it may cause conflicts. |