Move from gitea to forgejo

Moved all variables over; moved git passthrough script to new location
and naming scheme; moved settings and mentions of gitea name; switched
ci woodpecker instance to use forgejo instead of gitea.
This commit is contained in:
Marty Oehme 2024-06-24 08:47:43 +02:00
parent b6e30811dc
commit 648f49a847
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
8 changed files with 125 additions and 121 deletions

View file

@ -1,33 +1,32 @@
---
# never got around to removing the master tag from the images
gitea_version: latest
forgejo_version: 7
gitea_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
forgejo_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
gitea_use_https: true
forgejo_use_https: true
# the subdomain link gitea will be reachable under
# the subdomain link forgejo will be reachable under
subdomain_alias: git
subdomain_ci_alias: ci
gitea_db_database: gitea
gitea_db_username: gitea
gitea_db_password: gitea
forgejo_db_database: forgejo
forgejo_db_username: forgejo
forgejo_db_password: forgejo
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
forgejo_app_admin_username: Myforgejousername # can not be set to admin in Forgejo
forgejo_app_admin_password: Myforgejopassword
forgejo_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
# forgejo_smtp_host: domain.com:port
# forgejo_smtp_username: my@username.com
# forgejo_smtp_password: <password>
# forgejo_smtp_force_tls: false # forces tls if it is on a non-traditional tls port. Overwrites starttls so should generally be off
gitea_use_ci: false
# gitea_ci_github_client:
# gitea_ci_github_secret:
# gitea_ci_gitlab_client:
# gitea_ci_gitlab_secret:
# gitea_ci_gitea_client:
# gitea_ci_gitea_secret:
forgejo_use_ci: false
# forgejo_ci_github_client:
# forgejo_ci_github_secret:
# forgejo_ci_gitlab_client:
# forgejo_ci_gitlab_secret:
# forgejo_ci_forgejo_client:
# forgejo_ci_forgejo_secret: