Gitea¶
Your own github, gitlab or bitbucket (select what you love), but without painful hardware requirements.
Run docker image¶
docker run –name git -p 5003:3000 -v /srv/git:/data gitea/gitea
If you need provide SSH access then add -p 5022:22

Run docker-compose¶
version: '2'
services:
web:
image: gitea/gitea:1.3.2
volumes:
- /srv/git:/data
ports:
- "3000:3000"
- "22:22"
depends_on:
- db
restart: always
db:
image: mariadb:10
restart: always
environment:
- MYSQL_ROOT_PASSWORD=changeme
- MYSQL_DATABASE=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=changeme
volumes:
- ./db/:/var/lib/mysql
Now you can customize gitea. Download templates from https://github.com/go-gitea/gitea/tree/master/templates, modify as you want and save here /srv/git/gitea/templates/.