You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-11-27 22:28:31 +02:00
add docker-compose.yml for gogs
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user