Dockerized gogs with nginx and postgreSQL
Repository contains executable gogs-shell.sh
file, which help to automate startup of your own instance gogs
By default you can simply run:
git clone https://github.com/Dmitry-Kucher/gogs-docker-nginx.git
cd gogs-docker-nginx
./gogs-shell.sh start
WARNING: The simplest way will work only if you have no running any webserver on
80
port
To stop gogs-server
just run:
./gogs-shell.sh stop
from gogs-docker-nginx
path
To solve the problem with port already in use you can create file with custom environment variable.
touch config/custom-envs
nano config/cusom-envs
- paste
export NGINX_PUBLIC_PORT="8080"
as the new value for webserver port. ./gogs-shell.sh start
Your installation will be accessible at 8080 port