1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

create gitea_fqdn variable

This commit is contained in:
L3D 2021-06-03 21:14:42 +02:00
parent 0fc5aaae7d
commit d640300d61
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 5 additions and 5 deletions

View file

@ -20,11 +20,10 @@ The following code has been tested with Debian 8, it should work on Ubuntu as we
vars:
# Here we assume we are behind a reverse proxy that will
# handle https for us, so we bind on localhost:3000 using HTTP
gitea_http_domain: 'git.example.com'
gitea_fqdn: 'git.example.com'
gitea_root_url: 'https://git.example.com'
gitea_protocol: http
gitea_ssh_domain: git.example.com
gitea_start_ssh: true
```

View file

@ -20,6 +20,7 @@ gitea_systemd_cap_net_bind_service: false
gitea_app_name: 'Gitea'
gitea_user: 'gitea'
gitea_run_mode: 'prod'
gitea_fqdn: 'localhost'
# Repository (repository)
# -> https://docs.gitea.io/en-us/config-cheat-sheet/#repository-repository
@ -40,13 +41,13 @@ gitea_ui_extra_config: ''
# Server (server)
# -> https://docs.gitea.io/en-us/config-cheat-sheet/#server-server
gitea_protocol: 'http'
gitea_http_domain: 'localhost'
gitea_root_url: 'http://localhost:3000'
gitea_http_domain: "{{ gitea_fqdn }}"
gitea_root_url: "http://{{ gitea_fqdn }}:3000"
gitea_http_listen: '127.0.0.1'
gitea_http_port: '3000'
# gitea_http_letsencrypt_mail: 'mail@example.com'
gitea_start_ssh: true
gitea_ssh_domain: "{{ gitea_http_domain }}"
gitea_ssh_domain: "{{ gitea_fqdn }}"
gitea_ssh_port: '2222'
gitea_ssh_listen: '0.0.0.0'
gitea_offline_mode: true