commun:gitea
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| commun:gitea [2019/07/20 15:05] – francois | commun:gitea [2020/11/14 16:32] (Version actuelle) – [Fichiers de configuration] francois | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Gitea ====== | ====== Gitea ====== | ||
| + | |||
| + | ===== Installation de la version pré-compilée ===== | ||
| + | |||
| + | wget https:// | ||
| + | |||
| + | Remplacer la version par celle à mettre. | ||
| + | A copier dans le répertoire ''/ | ||
| ===== Compilation ===== | ===== Compilation ===== | ||
| Ligne 25: | Ligne 32: | ||
| </ | </ | ||
| - | ===== Fichier systemd ===== | + | ===== Fichiers |
| - | + | ||
| - | <file ini / | + | |
| - | [Unit] | + | |
| - | Description=Gitea (Git with a cup of tea) | + | |
| - | After=syslog.target | + | |
| - | After=network.target | + | |
| - | # | + | |
| - | # | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | [Service] | + | |
| - | # Modify these two values and uncomment them if you have | + | |
| - | # repos with lots of files and get an HTTP error 500 because | + | |
| - | # of that | + | |
| - | ### | + | |
| - | # | + | |
| - | # | + | |
| - | RestartSec=2s | + | |
| - | Type=simple | + | |
| - | User=git | + | |
| - | Group=git | + | |
| - | WorkingDirectory=/ | + | |
| - | ExecStart=/ | + | |
| - | Restart=always | + | |
| - | Environment=USER=git HOME=/ | + | |
| - | # If you want to bind Gitea to a port below 1024 uncomment | + | |
| - | # the two values below | + | |
| - | ### | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | [Install] | + | |
| - | WantedBy=multi-user.target | + | |
| - | </ | + | |
| - | + | ||
| - | ===== Fichier | + | |
| - | + | ||
| - | <file ini / | + | |
| - | APP_NAME = Les repos de Foué | + | |
| - | RUN_USER = git | + | |
| - | RUN_MODE = prod | + | |
| - | + | ||
| - | [security] | + | |
| - | INTERNAL_TOKEN | + | |
| - | INSTALL_LOCK | + | |
| - | SECRET_KEY | + | |
| - | IMPORT_LOCAL_PATHS = true | + | |
| - | + | ||
| - | [database] | + | |
| - | DB_TYPE | + | |
| - | HOST = 127.0.0.1: | + | |
| - | NAME = gitea | + | |
| - | USER = gitea | + | |
| - | PASSWD | + | |
| - | SSL_MODE = disable | + | |
| - | PATH = data/ | + | |
| - | + | ||
| - | [repository] | + | |
| - | ROOT = / | + | |
| - | + | ||
| - | [server] | + | |
| - | # SSH_DOMAIN | + | |
| - | # | + | |
| - | DOMAIN | + | |
| - | PROTOCOL | + | |
| - | HTTP_PORT | + | |
| - | ROOT_URL | + | |
| - | CERT_FILE | + | |
| - | KEY_FILE | + | |
| - | START_SSH_SERVER = true | + | |
| - | SSH_PORT | + | |
| - | LFS_START_SERVER = false | + | |
| - | LFS_CONTENT_PATH = / | + | |
| - | LFS_JWT_SECRET | + | |
| - | OFFLINE_MODE | + | |
| - | + | ||
| - | [mailer] | + | |
| - | ENABLED = true | + | |
| - | HOST = mail.infomaniak.ch: | + | |
| - | FROM = git@beafrancois.fr | + | |
| - | USER = beafrancois@beafrancois.fr | + | |
| - | PASSWD | + | |
| - | + | ||
| - | [service] | + | |
| - | REGISTER_EMAIL_CONFIRM | + | |
| - | ENABLE_NOTIFY_MAIL | + | |
| - | DISABLE_REGISTRATION | + | |
| - | ALLOW_ONLY_EXTERNAL_REGISTRATION | + | |
| - | ENABLE_CAPTCHA | + | |
| - | REQUIRE_SIGNIN_VIEW | + | |
| - | DEFAULT_KEEP_EMAIL_PRIVATE | + | |
| - | DEFAULT_ALLOW_CREATE_ORGANIZATION = true | + | |
| - | DEFAULT_ENABLE_TIMETRACKING | + | |
| - | NO_REPLY_ADDRESS | + | |
| - | + | ||
| - | [picture] | + | |
| - | DISABLE_GRAVATAR | + | |
| - | ENABLE_FEDERATED_AVATAR = true | + | |
| - | + | ||
| - | [openid] | + | |
| - | ENABLE_OPENID_SIGNIN = true | + | |
| - | ENABLE_OPENID_SIGNUP = true | + | |
| - | + | ||
| - | [session] | + | |
| - | PROVIDER = file | + | |
| - | [log] | + | {{ : |
| - | MODE = file | + | |
| - | LEVEL = Info | + | |
| - | ROOT_PATH = /var/lib/gitea/log | + | |
| - | [oauth2] | + | {{ : |
| - | JWT_SECRET = zn8M96-I7fCSC2txn91oYEUvwmc0q-YpafH2elHWj_I | + | |
| - | </ | + | |
commun/gitea.1563635141.txt.gz · Dernière modification : (modification externe)
