roles/gitea: Allow configuring clone URLs
The `gitea_ssh_domain` and `gitea_http_domain` variables can be used to configure the host portion of the URLs for cloning Git repositories over SSH and HTTPS, respectively. By default, both values are the FQDN of the machine hosting Gitea.
This commit is contained in:
@@ -21,10 +21,10 @@ ROOT = /var/lib/gitea/gitea-repositories
|
||||
|
||||
[server]
|
||||
APP_DATA_PATH = /var/lib/gitea
|
||||
SSH_DOMAIN = localhost
|
||||
DOMAIN = localhost
|
||||
SSH_DOMAIN = {{ gitea_ssh_domain }}
|
||||
DOMAIN = {{ gitea_http_domain }}
|
||||
HTTP_PORT = 3000
|
||||
ROOT_URL = http://localhost:3000/
|
||||
ROOT_URL = {{ gitea_root_url }}
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = 22
|
||||
LFS_START_SERVER = true
|
||||
|
||||
Reference in New Issue
Block a user