https://github.com/luxifer/docker-gogs
Gogs in Docker
https://github.com/luxifer/docker-gogs
Last synced: 3 months ago
JSON representation
Gogs in Docker
- Host: GitHub
- URL: https://github.com/luxifer/docker-gogs
- Owner: luxifer
- Created: 2014-11-20T15:08:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-20T17:46:05.000Z (over 10 years ago)
- Last Synced: 2025-01-22T08:12:15.446Z (4 months ago)
- Homepage: https://registry.hub.docker.com/u/luxifer/gogs/
- Size: 121 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gogs in docker
See what is Gogs [here](https://github.com/gogits/gogs)
## Build
### Form source
```
docker build -t luxifer/gogs .
```### From the [docker registry](https://registry.hub.docker.com/u/luxifer/gogs/)
```
docker pull luxifer/gogs
```## Run
```
docker run -d -p 22:2222 -p 3000:3000 luxifer/gogs
```If you want to disable the ssh support, just donc publish the `2222` port by removing the option `-p 22:2222`
### With data persistence
```
docker run -d -p 22:2222 -p 3000:3000 -v :/home/git/repositories luxifer/gogs
```## Install
Go to `:3000` and configure pour new Gogs installation!