This commit is contained in:
Marc Beninca 2024-03-15 16:50:38 +01:00
parent 0a783fcdac
commit fe1a009619
Signed by untrusted user who does not match committer: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 59 additions and 0 deletions

View file

@ -27,6 +27,7 @@ RTFD
public/fcgiwrap/index
public/ffmpeg/index
public/firefox/index
public/forgejo/index
public/git/index
public/git-bash/index
public/gitlab-ci/index

View file

@ -0,0 +1,58 @@
*******
Forgejo
*******
Packages
========
* git
* git-lfs
Users
=====
.. code-block::
adduser \
--disabled-password \
--group \
--home '/home/git' \
--shell '/usr/bin/bash' \
--system \
git
Files
=====
* /etc/systemd/system/forgejo.service
* /usr/local/bin/forgejo
Config
======
.. code-block::
mkdir '/etc/forgejo'
chown root:git '/etc/forgejo'
chmod 770 '/etc/forgejo'
Data
====
.. code-block::
mkdir '/var/lib/forgejo'
chown git:git '/var/lib/forgejo'
chmod 750 '/var/lib/forgejo'
Enable
======
.. code-block::
systemctl enable forgejo
Interface
=========
* http://localhost:3000