Projects lutov.net git.lutov.net Files
Enable build support by adding .onedev-buildspec.yml
backup Loading last commit info...
gitea
.env.sample
.gitignore
.gitmodules
.msmtprc
91-allow-unpriv-port.conf
README.md
backup.git.lutov.net.service
backup.git.lutov.net.timer
backup.sh
build_gitea.sh
container-in-home.te
docker-compose.yml
execute_backup.sh
git.lutov.local.conf
git.lutov.net.conf
git.lutov.net.service
README.md

git.lutov.net

Config files for git.lutov.net

Copy .env.sample into .env and fill with actual passwords.

make -f /usr/share/selinux/devel/Makefile container-in-home.pp
semodule -X 300 -i container-in-home.pp

pip install podman-compose

cp 91-allow-unpriv-port.conf /etc/sysctl.d/

podman-compose up # check port 3000 in browser

cp .msmtprc ~
cp *.service *.timer ~/.config/systemd/user/
systemctl --user enable --now git.lutov.net
systemctl --user enable --now backup.git.lutov.net.timer

cp *.lutov.net.conf /etc/nginx/conf.d/
systemctl enable --now nginx

ufw allow 443
ufw allow 80
ufw allow 22

loginctl enable-linger vs

git clone https://github.com/go-gitea/gitea.git
cd gitea
git checkout v1.16.8
make frontend
mv public /var/www/gitea
# semanage fcontext -a -t httpd_sys_content_t "/var/www/gitea(/.*)?"
restorecon -R -v /var/www/gitea
Please wait...
Page is in error, reload to recover