first commit

This commit is contained in:
ZennDev1337 2024-02-06 10:54:37 +01:00
commit 986fa8ff07
2 changed files with 90 additions and 0 deletions

28
compose.yaml Normal file
View 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: