120 lines
2 KiB
YAML
120 lines
2 KiB
YAML
---
|
|
|
|
# Enable the server mode
|
|
#
|
|
# - Type: bool
|
|
# - Required: No
|
|
# - Default: true
|
|
forgejo_server: true
|
|
|
|
# Version of the Forgejo binaries
|
|
#
|
|
# - Type: int
|
|
# - Required: No
|
|
# - Default: 13
|
|
forgejo_version: 13
|
|
|
|
# Path to the home directory
|
|
#
|
|
# - Type: path
|
|
# - Required: No
|
|
# - Default: /var/lib/forgejo
|
|
forgejo_home_dir: /var/lib/forgejo
|
|
|
|
# Path to the configuration directory
|
|
#
|
|
# - Type: path
|
|
# - Required: No
|
|
# - Default: /etc/forgejo
|
|
forgejo_config_dir: /etc/forgejo
|
|
|
|
# Port to listen for the web UI
|
|
#
|
|
# - Type: int
|
|
# - Required: No
|
|
# - Default: 3000
|
|
forgejo_web_port: 3000
|
|
|
|
# Port to listen for SSH
|
|
#
|
|
# - Type: int
|
|
# - Required: No
|
|
# - Default: 222
|
|
forgejo_ssh_port: 222
|
|
|
|
# Name of the user in the database
|
|
#
|
|
# - Type: str
|
|
# - Required: No
|
|
# - Default: forgejo
|
|
forgejo_db_username: forgejo
|
|
|
|
# Password of the user in the database
|
|
#
|
|
# - Type: str
|
|
# - Required: Yes
|
|
forgejo_db_password: CHANGEME
|
|
|
|
# Name of the database
|
|
#
|
|
# - Type: str
|
|
# - Required: No
|
|
# - Default: forgejo
|
|
forgejo_db_database: forgejo
|
|
|
|
# Configure the mailer to send e-mail notifications
|
|
#
|
|
# Define a `enabled` key with a boolean to enable the mailer
|
|
#
|
|
# Define a `from` key with the source e-mail address
|
|
#
|
|
# See
|
|
#
|
|
# - Type: dict
|
|
# - Required: No
|
|
forgejo_mailer: {}
|
|
|
|
# Configure service settings
|
|
#
|
|
# See
|
|
#
|
|
# - Type: dict
|
|
# - Required: No
|
|
forgejo_service: {}
|
|
|
|
# Configure iptables rules
|
|
#
|
|
# - Type: bool
|
|
# - Required: No
|
|
# - Default: false
|
|
forgejo_manage_iptables: false
|
|
|
|
# List of IP ranges to allow when `forgejo_manage_iptables` is enabled
|
|
#
|
|
# - Type: list
|
|
# - Required: No
|
|
forgejo_allowed_sources: []
|
|
|
|
# Version of the runners
|
|
#
|
|
# - Type: str
|
|
# - Required: No
|
|
# - Default: 9.1.1
|
|
forgejo_runners_version: 9.1.1
|
|
|
|
# Path to the configuration directory of the runners
|
|
#
|
|
# - Type: path
|
|
# - Required: No
|
|
# - Default: /etc/forgejo-runners
|
|
forgejo_runners_config_dir: /etc/forgejo-runners
|
|
|
|
# List of runners to configure
|
|
#
|
|
# The key is the name of the repository on the instance
|
|
#
|
|
# The value is the token
|
|
#
|
|
# - Type: dict
|
|
# - Required: No
|
|
forgejo_runners: {}
|