forked from stove/dataset
117 lines
4.8 KiB
XML
117 lines
4.8 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<rougail version="0.10">
|
|
<services>
|
|
<service name="forgejo" target="multi-user" engine="cheetah">
|
|
<file engine="none" source="sysuser-forgejo.conf">/sysusers.d/0forgejo.conf</file>
|
|
<file engine="none" source="tmpfile-forgejo.conf">/tmpfiles.d/0forgejo.conf</file>
|
|
<file>/etc/forgejo/app.ini</file>
|
|
<file filelist="copy_tests">/tests/forgejo.yml</file>
|
|
</service>
|
|
</services>
|
|
<variables>
|
|
<family name="network">
|
|
<variable name="incoming_ports" redefine="True">
|
|
<value>2222</value>
|
|
</variable>
|
|
</family>
|
|
<family name="redis" description="Redis">
|
|
<variable name="redis_client_key_owner" redefine="True">
|
|
<value>forgejo</value>
|
|
</variable>
|
|
</family>
|
|
<family name="forgejo" description="Forgejo" help="Git forge Forgejo">
|
|
<variable name="forgejo_title" mandatory="True" description="Titre de la forge">
|
|
<value>Forgejo : Au-delà du développement. Nous forgeons.</value>
|
|
</variable>
|
|
<variable name="forgejo_mail_sender" type="mail" description="Les courriels sont envoyés à partir de cet adresse" mandatory="True"/>
|
|
<variable name="forgejo_secret_key" type="password" hidden="True"/>
|
|
<variable name="forgejo_internal_token" type="password" hidden="True"/>
|
|
<variable name="forgejo_lfs_jwt_secret" type="password" hidden="True"/>
|
|
</family>
|
|
<family name="revprox">
|
|
<family name="revprox_client">
|
|
<variable name="revprox_client_local_location" redefine="True">
|
|
<value>/</value>
|
|
</variable>
|
|
</family>
|
|
<variable name="revprox_client_port" redefine="True">
|
|
<value>3000</value>
|
|
</variable>
|
|
<variable name="revprox_client_cert_owner" redefine="True">
|
|
<value>forgejo</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 Forgejo</value>
|
|
</variable>
|
|
<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>
|
|
<variable name="oauth2_client_token_signature_algo" redefine="True">
|
|
<value>RS256</value>
|
|
</variable>
|
|
<family name="external">
|
|
<variable name="oauth2_client_external" redefine="True" remove_fill="True"/>
|
|
</family>
|
|
</family>
|
|
<family name="postgresql">
|
|
<variable name="pg_client_key_owner" redefine="True">
|
|
<value>forgejo</value>
|
|
</variable>
|
|
</family>
|
|
</variables>
|
|
<constraints>
|
|
<fill name="get_password">
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
<param name="username">secret_key</param>
|
|
<param name="description">forgejo</param>
|
|
<param name="type">cleartext</param>
|
|
<param name="hide" type="variable">hide_secret</param>
|
|
<param name="length" type="number">105</param>
|
|
<target>forgejo_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">forgejo</param>
|
|
<param name="type">cleartext</param>
|
|
<param name="hide" type="variable">hide_secret</param>
|
|
<param name="length" type="number">105</param>
|
|
<target>forgejo_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">forgejo</param>
|
|
<param name="type">cleartext</param>
|
|
<param name="hide" type="variable">hide_secret</param>
|
|
<param name="length" type="number">43</param>
|
|
<target>forgejo_lfs_jwt_secret</target>
|
|
</fill>
|
|
<fill name="calc_oauth2_client_login">
|
|
<param type="variable" optional="True">revprox_client_external_domainnames</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>
|
|
<fill name="calc_oauth2_client_external">
|
|
<param type="variable">revprox_client_external_domainnames</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>
|