;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; 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.