leyhome/gitea.yml hinzugefügt

This commit is contained in:
florian 2026-03-04 18:51:05 +01:00
parent ae1cc6abad
commit 5f57ae8254
1 changed files with 26 additions and 0 deletions

26
leyhome/gitea.yml Normal file
View File

@ -0,0 +1,26 @@
services:
server:
image: gitea/gitea:1.21
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=sqlite3
# Hier konfigurieren wir die interne URL für die Telegram-Webhooks später
- GITEA__server__ROOT_URL=http://192.168.2.10:3002/
- GITEA__server__SSH_PORT=2222
- GITEA__server__LFS_START_SERVER=true
restart: always
networks:
- gitea_net
volumes:
- /home/florian/docker/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3002:3000" # Web-Interface auf Port 3002
- "2222:22" # SSH auf Port 2222
networks:
gitea_net:
driver: bridge