mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-03-31 21:55:08 +02:00
add docker-compose.yml for gogs
This commit is contained in:
parent
be2562a05f
commit
6d65a8feea
@ -119,6 +119,7 @@ dockerfiles
|
|||||||
- [x] gitlab/gitlab-ce
|
- [x] gitlab/gitlab-ce
|
||||||
- [ ] gliderlabs/logspout
|
- [ ] gliderlabs/logspout
|
||||||
- [x] gliderlabs/registrator
|
- [x] gliderlabs/registrator
|
||||||
|
- [x] gogs :cn:
|
||||||
- [ ] jenkins
|
- [ ] jenkins
|
||||||
- [x] letsencrypt
|
- [x] letsencrypt
|
||||||
- [x] mongo
|
- [x] mongo
|
||||||
|
27
gogs/README.md
Normal file
27
gogs/README.md
Normal 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
8
gogs/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
gogs:
|
||||||
|
image: gogs/gogs
|
||||||
|
ports:
|
||||||
|
- "22:22"
|
||||||
|
- "80:3000"
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
restart: always
|
Loading…
x
Reference in New Issue
Block a user