feat: gitea

This commit is contained in:
2025-10-03 18:47:44 +02:00
parent 1f7bbaa96b
commit 5fe22ee906
2 changed files with 23 additions and 5 deletions

View File

@@ -1,14 +1,25 @@
services:
server:
gitea:
image: docker.gitea.com/gitea:1.24.6
restart: always
environment:
- USER_UID=1000
- USER_GID=1000
env_file:
- .env
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "50005:3000"
- "22:2222"
- "22:22"
depends_on:
- db
db:
image: docker.io/library/postgres:14
restart: always
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
volumes:
- ./postgres:/var/lib/postgresql/data