Gogs running with Docker Compose
- Clone this repo.
- Set value for the
SECRET_KEY
in thedata\config\app.ini
(e.g. using www.random.org). - Run
docker-compose up -d
to start gogs. - To check that your gogs application is running enter url http://localhost:3000 (
ROOT_URL
). - Register a new user account.
- Run
docker-compose stop
to stop gogs container. - Run
docker-compose rm -f
to remove gogs container. - Remove all files from
data/data
,data/log
,repo
andssh
folders.
See the Gogs configuration cheat sheet for more information.