mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
add gitea
This commit is contained in:
parent
1c4ee2591c
commit
1e6f843a4e
@ -273,12 +273,13 @@ A collection of delicious docker recipes.
|
|||||||
- [x] ghost
|
- [x] ghost
|
||||||
- [x] gitlab/gitlab-ce
|
- [x] gitlab/gitlab-ce
|
||||||
- [x] atlassianlabs/gostatsd
|
- [x] atlassianlabs/gostatsd
|
||||||
|
- [x] gitea/gitea :cn:
|
||||||
- [x] gliderlabs/logspout
|
- [x] gliderlabs/logspout
|
||||||
- [x] gliderlabs/registrator
|
- [x] gliderlabs/registrator
|
||||||
- [ ] glot
|
- [ ] glot
|
||||||
- [ ] bash
|
- [ ] bash
|
||||||
- [ ] python
|
- [ ] python
|
||||||
- [x] gogs :cn:
|
- [x] gogs/gogs :cn:
|
||||||
- [x] haproxy
|
- [x] haproxy
|
||||||
- [x] jmxtrans/jmxtrans
|
- [x] jmxtrans/jmxtrans
|
||||||
- [x] wurstmeister/kafka
|
- [x] wurstmeister/kafka
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3.7'
|
version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
drone:
|
drone:
|
||||||
|
7
gitea/README.md
Normal file
7
gitea/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
gitea
|
||||||
|
=====
|
||||||
|
|
||||||
|
[Gitea][1] is a community managed lightweight code hosting solution written in
|
||||||
|
Go. It is published under the MIT license.
|
||||||
|
|
||||||
|
[1]: https://gitea.io/
|
34
gitea/docker-compose.yml
Normal file
34
gitea/docker-compose.yml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
server:
|
||||||
|
image: gitea/gitea
|
||||||
|
ports:
|
||||||
|
- "2222:22"
|
||||||
|
- "3000:3000"
|
||||||
|
volumes:
|
||||||
|
- ./data/gitea:/data
|
||||||
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
|
- DB_TYPE=postgres
|
||||||
|
- DB_HOST=postgres:5432
|
||||||
|
- DB_NAME=gitea
|
||||||
|
- DB_USER=gitea
|
||||||
|
- DB_PASSWD=gitea
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: postgres:12-alpine
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
|
volumes:
|
||||||
|
- ./data/postgres:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=gitea
|
||||||
|
- POSTGRES_PASSWORD=gitea
|
||||||
|
- POSTGRES_DB=gitea
|
||||||
|
restart: always
|
Loading…
Reference in New Issue
Block a user