Add gitea role
Added base gitea docker setup role. Adds automatic unattended setup with default admin account and optional email notification setup.
This commit is contained in:
parent
12a3fa1e6f
commit
3a5b5680cf
10 changed files with 360 additions and 0 deletions
24
roles/gitea/defaults/main.yml
Normal file
24
roles/gitea/defaults/main.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
|
||||
# never got around to removing the master tag from the images
|
||||
gitea_version: latest
|
||||
|
||||
gitea_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||
|
||||
gitea_use_https: true
|
||||
|
||||
# the subdomain link gitea will be reachable under
|
||||
subdomain_alias: git
|
||||
|
||||
gitea_db_database: gitea
|
||||
gitea_db_username: gitea
|
||||
gitea_db_password: gitea
|
||||
|
||||
gitea_app_admin_username: Mygiteausername # can not be set to admin in Gitea
|
||||
gitea_app_admin_password: Mygiteapassword
|
||||
gitea_app_admin_email: myadmin@mydomain.mytld
|
||||
|
||||
# gitea_smtp_host: domain.com:port
|
||||
# gitea_smtp_username: my@username.com
|
||||
# gitea_smtp_password: <password>
|
||||
# gitea_smtp_force_tls: false # forces tls if it is on a non-traditional tls port. Overwrites starttls so should generally be off
|
||||
Loading…
Add table
Add a link
Reference in a new issue