Gitea (https://gitea.io/en-us/) is like a light weight Gitlab.
I wrote on Gitea previously, running on my personal server,
Again, my server goes up and down depends on the schedule I set it to. It usually in sleep mode and wakes up according the the schedule I set. My main computer is on almost all day but the server is not as it's not heavily used.
This posting is a note on installing Gitea in Docker.
Docker image page, https://hub.docker.com/r/gitea/gitea
Pull the image,
$ docker pull gitea/gitea
Gitea official shows using docker-compose to customize further, https://docs.gitea.io/en-us/install-with-docker/ -- for my use, default works for me. No volume mapping, no DB.
$ docker run --name gitea -p 3000:3000 -p 222:22 -d gitea/gitea
$ docker logs -f gitea
- Click on "Sign-in" at upper-right corner, and it'll show Initial Configuration page.
- Configure as needed (for my case/this posting, no mysql, external volume is mapped).
- And then register user -- that will be the admin.