gitea
This commit is contained in:
parent
32a987f556
commit
99bcc77abf
|
|
@ -0,0 +1,44 @@
|
|||
version: '3.1'
|
||||
|
||||
services:
|
||||
server:
|
||||
image: gitea/gitea:latest
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- DB_TYPE=postgres
|
||||
- DB_HOST=db:5432
|
||||
- DB_NAME=gitea
|
||||
- DB_USER=bizmatch
|
||||
- DB_PASSWD=gitea
|
||||
- GITEA__server__MINIMUM_KEY_SIZE_CHECK=false
|
||||
- GITEA__server__HTTP_PORT=3500
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- bizmatch
|
||||
volumes:
|
||||
- gitea-data:/data
|
||||
- ./gitea/gitea-ssh:/data/git/.ssh
|
||||
ports:
|
||||
- "3500:3500"
|
||||
- "2222:22"
|
||||
|
||||
db:
|
||||
image: postgres:alpine
|
||||
environment:
|
||||
- POSTGRES_USER=bizmatch
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_DB=gitea
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- bizmatch
|
||||
volumes:
|
||||
- gitea-db:/var/lib/postgresql/data
|
||||
|
||||
networks:
|
||||
bizmatch:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
gitea-data:
|
||||
gitea-db:
|
||||
Loading…
Reference in New Issue