Dmitry-Kucher / gogs-docker-nginx

Dockerized gogs nginx repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerized gogs with nginx and postgreSQL

Repository contains executable gogs-shell.sh file, which help to automate startup of your own instance gogs

The simplest way to startup gogs-server

By default you can simply run:

  1. git clone https://github.com/Dmitry-Kucher/gogs-docker-nginx.git
  2. cd gogs-docker-nginx
  3. ./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

If 80 port already in use

To solve the problem with port already in use you can create file with custom environment variable.

  1. touch config/custom-envs
  2. nano config/cusom-envs
  3. paste export NGINX_PUBLIC_PORT="8080" as the new value for webserver port.
  4. ./gogs-shell.sh start

Your installation will be accessible at 8080 port

About

Dockerized gogs nginx repository


Languages

Language:Shell 100.0%