https://github.com/codeskyblue/docker-gogs
docker file for gogits
https://github.com/codeskyblue/docker-gogs
Last synced: 8 months ago
JSON representation
docker file for gogits
- Host: GitHub
- URL: https://github.com/codeskyblue/docker-gogs
- Owner: codeskyblue
- License: mit
- Created: 2014-07-07T15:29:12.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-12-13T01:55:58.000Z (over 9 years ago)
- Last Synced: 2025-04-04T06:41:43.348Z (about 1 year ago)
- Language: Shell
- Size: 34.2 KB
- Stars: 49
- Watchers: 7
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
docker-gogs
===========
Dockerfile for [gogs](http://gogs.io) server(a self-hosted git service).
>This repo have been combined into in 2015-08-17.
Since the offcial repo got too many issues. Issue about docker gogs can still submit here.
## Usage
```
docker pull gogs/gogs
mkdir -p /var/gogs
docker run --name=gogs -d -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogs/gogs
```
More details can be found in
### Link with mysql
mysql is from .
**Alert**. Not tested. For my machine got too low memory, and canot run mysql.
If you are interested to test. Pull request are welcome. pr to branch: develop
First start an mysql instance
docker pull mysql
docker run --name gogs-mysql -e MYSQL_DATABASE=gogs -e MYSQL_ROOT_PASSWORD=abcd -d mysql
Then run gogs
mkdir -p /var/gogs
docker run --rm -ti --name gogs --link gogs-mysql:mysql -p 10022:22 -p 10080:3000 -v /var/gogs:/data codeskyblue/docker-gogs
Good luck.