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:
commit
6ffd081de2
|
@ -4,6 +4,8 @@
|
||||||
>
|
>
|
||||||
> <cite>[Documentation][documentation]</cite>
|
> <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
|
## Commandes
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
gitea:
|
||||||
|
environment:
|
||||||
|
- GITEA__METRICS__ENABLED=true
|
|
@ -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}"""
|
Loading…
Reference in New Issue