« Gitlab » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 3 : | Ligne 3 : | ||
* [https://wiki.archlinux.org/title/GitLab archlinux wiki] | * [https://wiki.archlinux.org/title/GitLab archlinux wiki] | ||
= | = [https://wiki.archlinux.org/index.php/GitLab#Installation Installation] = | ||
# install and configure [[PostgreSQL#Installation|PostgreSQL]] | |||
<kode lang='bash'> | |||
sudo pacman gitlab | |||
</kode> | |||
<filebox fn='/etc/webapps/gitlab/gitlab.yml'> | <filebox fn='/etc/webapps/gitlab/gitlab.yml'> | ||
host: gitlab.domain.net | host: gitlab.domain.net | ||
Ligne 9 : | Ligne 14 : | ||
https: true | https: true | ||
</filebox> | </filebox> | ||
== [https://wiki.archlinux.org/index.php/GitLab#Secret_strings Secret string] == | == [https://wiki.archlinux.org/index.php/GitLab#Secret_strings Secret string] == |
Version du 29 mai 2023 à 15:03
Links
Installation
- install and configure PostgreSQL
sudo pacman gitlab |
/etc/webapps/gitlab/gitlab.yml |
host: gitlab.domain.net port: 443 https: true |
Secret string
hexdump -v -n 64 -e '1/1 "%02x"' /dev/urandom | sudo dd of=/etc/webapps/gitlab/secret hexdump -v -n 64 -e '1/1 "%02x"' /dev/urandom | sudo dd of=/etc/webapps/gitlab-shell/secret |
/etc/webapps/gitlab/secrets.yml |
production: secret_key_base: secret db_key_base: secret |
Redis
# Add user gitlab to group redis sudo gpasswd -a gitlab redis |