Project - Personal Git Server
Docker project under IIEC Rise This project is based on Gogs self hosted git server where you can manage all of your personal repositories. Configured the Gogs git server inside docker container and created a image which you can find on Docker hub. You can easily lauch a personal git server using docker-compose.yml
Requirements
docker 19.03 or above that you can find here
docker-compose 1.25.5 or above that you can find here
Run
In the same directory where docker-compose.yml is, start terminal and run
docker-compose up -d
To stop
docker-compose down
Configure
After running docker-compose.yml, Visit http://your_server_ip/install
and configure gogs as follows
- Database : sqlite3
- Remove port from ssh because this doesn't uses ssh for repositories
- Domain : yout_ip
- HTTP Port : 3000
- Application URL : http://your_ip:3000/
Everything else let it be default
Skip the optional e-mail and notification settings, then under Admin Account Settings, choose an admin username and password, and include your email address. Finally, click Install Gogs, and then log in.