The hostname can differ from ansible_fqdn.

This commit is contained in:
Andrea Dell'Amico 2021-06-29 20:16:09 +02:00
parent 7e63b4ee00
commit 35d8c8799e
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 4 additions and 3 deletions

View File

@ -23,9 +23,10 @@ gitea_repository_data: '{{ gitea_data_dir }}/repositories'
gitea_max_repository_per_user: 200
gitea_server_protocol: unix
gitea_hostname: '{{ ansible_fqdn }}'
gitea_http_addr: '{{ gitea_socket_dir }}/gitea.sock'
gitea_http_port: 3000
gitea_root_url: https://{{ ansible_fqdn }}
gitea_root_url: https://{{ gitea_hostname }}
# home, explore
gitea_landing_page: explore

View File

@ -14,8 +14,8 @@ LANDING_PAGE = {{ gitea_landing_page }}
LFS_START_SERVER = {{ gitea_start_lfs }}
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
LFS_HTTP_AUTH_EXPIRY = {{ gitea_lfs_http_auth_expiry }}
SSH_DOMAIN = localhost
DOMAIN = localhost
SSH_DOMAIN = {{ gitea_hostname }}
DOMAIN = {{ gitea_hostname }}
HTTP_PORT = {{ gitea_http_port }}
ROOT_URL = {{ gitea_root_url }}
DISABLE_SSH = false