2022-03-08 19:42:28 +01:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<services>
|
|
|
|
<service name="gitea" target="multi-user" engine="creole">
|
|
|
|
<file engine="none" source="sysuser-gitea.conf">/sysusers.d/0gitea.conf</file>
|
|
|
|
<file engine="none" source="tmpfile-gitea.conf">/tmpfiles.d/0gitea.conf</file>
|
|
|
|
<file>/etc/gitea/app.ini</file>
|
|
|
|
</service>
|
|
|
|
</services>
|
|
|
|
<variables>
|
|
|
|
<variable name="external_ports" redefine="True">
|
|
|
|
<value>2222</value>
|
|
|
|
</variable>
|
|
|
|
<family name="gitea" description="Gitea" help="Git forge Gitea">
|
|
|
|
<variable name="gitea_title" mandatory="True" description="Titre de la forge"/>
|
|
|
|
<variable name="gitea_mail_sender" type="mail" description="Les courriels sont envoyés à partir de cet adresse" mandatory="True"/>
|
|
|
|
<variable name="gitea_secret_key" type="password" hidden="True"/>
|
|
|
|
<variable name="gitea_internal_token" type="password" hidden="True"/>
|
|
|
|
<variable name="gitea_lfs_jwt_secret" type="password" hidden="True"/>
|
|
|
|
</family>
|
|
|
|
<family name="nginx">
|
|
|
|
<variable name="revprox_client_local_location" redefine="True">
|
|
|
|
<value>/</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="revprox_client_port" redefine="True">
|
|
|
|
<value>3000</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="revprox_client_cert_owner" redefine="True">
|
|
|
|
<value>gitea</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="revprox_client_cert_group" redefine="True">
|
|
|
|
<value>gitea</value>
|
|
|
|
</variable>
|
|
|
|
</family>
|
|
|
|
<family name="oauth2_client">
|
|
|
|
<variable name="oauth2_is_client_application" redefine='True'>
|
|
|
|
<value>True</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_name" redefine='True'>
|
|
|
|
<value>Forge</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_description" redefine='True'>
|
|
|
|
<value>Forge logiciel Gitea</value>
|
|
|
|
</variable>
|
2022-03-29 16:33:20 +02:00
|
|
|
<variable name="oauth2_client_category" redefine='True'>
|
|
|
|
<value>Développement</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_logo" redefine='True'>
|
|
|
|
<value>silique_note.png</value>
|
|
|
|
</variable>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="oauth2_client_token_signature_algo" redefine="True">
|
|
|
|
<value>RS256</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_external" redefine="True" remove_fill="True"/>
|
|
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<fill name="calc_value">
|
|
|
|
<param>Gitea: Git with a cup of tea for</param>
|
|
|
|
<param type="variable">revprox_client_external_domainname</param>
|
|
|
|
<param name="join" type="space"/>
|
|
|
|
<target>gitea_title</target>
|
|
|
|
</fill>
|
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username">secret_key</param>
|
|
|
|
<param name="description">gitea</param>
|
|
|
|
<param name="type">cleartext</param>
|
|
|
|
<param name="length" type="number">105</param>
|
|
|
|
<target>gitea_secret_key</target>
|
|
|
|
</fill>
|
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username">internal_token</param>
|
|
|
|
<param name="description">gitea</param>
|
|
|
|
<param name="type">cleartext</param>
|
|
|
|
<param name="length" type="number">105</param>
|
|
|
|
<target>gitea_internal_token</target>
|
|
|
|
</fill>
|
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username">lfs_jwt_secret</param>
|
|
|
|
<param name="description">gitea</param>
|
|
|
|
<param name="type">cleartext</param>
|
|
|
|
<param name="length" type="number">43</param>
|
|
|
|
<target>gitea_lfs_jwt_secret</target>
|
|
|
|
</fill>
|
2022-03-11 18:41:49 +01:00
|
|
|
<fill name="calc_oauth2_client_external">
|
2022-03-08 19:42:28 +01:00
|
|
|
<param type="variable" optional="True">revprox_client_external_domainname</param>
|
|
|
|
<param type="variable" optional="True">revprox_client_location</param>
|
|
|
|
<param>user/oauth2/</param>
|
|
|
|
<param type="variable">domain_name_eth0</param>
|
|
|
|
<param>/callback</param>
|
|
|
|
<target>oauth2_client_login</target>
|
|
|
|
</fill>
|
2022-03-11 18:41:49 +01:00
|
|
|
<fill name="calc_oauth2_client_external">
|
2022-03-08 19:42:28 +01:00
|
|
|
<param type="variable">revprox_client_external_domainname</param>
|
|
|
|
<param type="variable">revprox_client_location</param>
|
|
|
|
<param>user/oauth2/</param>
|
|
|
|
<param type="variable">domain_name_eth0</param>
|
|
|
|
<target>oauth2_client_external</target>
|
|
|
|
</fill>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|