first commit
This commit is contained in:
commit
986fa8ff07
2 changed files with 90 additions and 0 deletions
28
compose.yaml
Normal file
28
compose.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
services:
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
environment:
|
||||
- DB_TYPE=postgres
|
||||
- DB_HOST=db:5432
|
||||
- DB_NAME=gitea
|
||||
- DB_USER=gitea
|
||||
- DB_PASSWD=gitea
|
||||
restart: always
|
||||
volumes:
|
||||
- git_data:/data
|
||||
ports:
|
||||
- 3000:3000
|
||||
db:
|
||||
image: postgres:alpine
|
||||
environment:
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_DB=gitea
|
||||
restart: always
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
expose:
|
||||
- 5432
|
||||
volumes:
|
||||
postgres-data:
|
||||
git_data:
|
Loading…
Add table
Add a link
Reference in a new issue