You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Tristan Storch b96957414e Replaced current docker files and scripts 11 years ago
..
docker Replaced current docker files and scripts 11 years ago
README.md Replaced current docker files and scripts 11 years ago
rm_gogs.sh Replaced current docker files and scripts 11 years ago
rmi_gogs.sh Replaced current docker files and scripts 11 years ago
run_gogs.sh Replaced current docker files and scripts 11 years ago
start_gogs.sh Replaced current docker files and scripts 11 years ago
stop_gogs.sh Replaced current docker files and scripts 11 years ago

README.md

Install Gogs With Docker

Deploying gogs in Docker is just as easy as eating a pie, what you do is just run run_gogs.sh. This will setup a MySQL container and a GoGS container. The MySQL container will be linked to the GoGS container and everything will be setup for you.

After docker is done just visit http://localhost:3000 and setup the admin account and BAM you're done.

If you want to change the database user, password etc. do so in run_gogs.sh

command description
run_gogs.sh calls docker run to get, build and run MySQL and GoGS images
stop_gogs.sh calls docker stop to stop MySQL and GoGS containers
start_gogs.sh calls docker start to start MySQL and GoGS containers
rm_gogs.sh calls docker rm to remove MySQL and GoGS containers
rmi_gogs.sh calls docker rmi to remove GoGS image (leaves MySQL container)

Have fun!