1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

add docker-compose.yml for gogs

This commit is contained in:
kev 2016-04-25 16:34:42 +08:00
parent be2562a05f
commit 6d65a8feea
3 changed files with 36 additions and 0 deletions

View File

@ -119,6 +119,7 @@ dockerfiles
- [x] gitlab/gitlab-ce
- [ ] gliderlabs/logspout
- [x] gliderlabs/registrator
- [x] gogs :cn:
- [ ] jenkins
- [x] letsencrypt
- [x] mongo

27
gogs/README.md Normal file
View File

@ -0,0 +1,27 @@
gogs
====
[Gogs][1] (Go Git Service) is a painless self-hosted Git service.
## docker-compose.yml
```yaml
gogs:
image: gogs/gogs
ports:
- "22:22"
- "80:3000"
volumes:
- ./data:/data
restart: always
```
> :warning: Listening on port 22 and 80 may cause problems!
## up and running
```
$ docker-compose up -d
```
[1]: https://gogs.io/

8
gogs/docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
gogs:
image: gogs/gogs
ports:
- "22:22"
- "80:3000"
volumes:
- ./data:/data
restart: always