Merge pull request 'Ajout de documentation et de configuration pour Gitea' (#7) from gitea into main

Reviewed-on: https://git.weko.io/resilien/services/pulls/7
This commit is contained in:
Simon 2021-11-16 14:24:26 +01:00
commit 6ffd081de2
3 changed files with 20 additions and 0 deletions

View File

@ -4,6 +4,8 @@
>
> <cite>[Documentation][documentation]</cite>
Il est possible de configurer l'intégralité du service à l'aide de variable d'environnement voir [la documentation officiel](https://docs.gitea.io/en-us/install-with-docker/#managing-deployments-with-environment-variables).
## Commandes
```sh

View File

@ -0,0 +1,6 @@
version: "3.8"
services:
gitea:
environment:
- GITEA__METRICS__ENABLED=true

View File

@ -0,0 +1,12 @@
version: "3.8"
services:
gitea:
environment:
- GITEA__mailer__ENABLED=true
- GITEA__mailer__FROM=${GITEA__mailer__FROM:?GITEA__mailer__FROM not set}
- GITEA__mailer__MAILER_TYPE=smtp
- GITEA__mailer__HOST=${GITEA__mailer__HOST:?GITEA__mailer__HOST not set}
- GITEA__mailer__IS_TLS_ENABLED=true
- GITEA__mailer__USER=${GITEA__mailer__USER:?GITEA__mailer__USER not set}
- GITEA__mailer__PASSWD="""${GITEA__mailer__PASSWD:?GITEA__mailer__PASSWD not set}"""