Reorganised: pure infrastructure configs - Docker compose, nginx, deploy scripts

This commit is contained in:
mo
2026-05-10 02:24:36 +02:00
commit 77d0366f80
7 changed files with 370 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
# docker-compose.yml — Gitea self-hosted Git op Synology NAS
# Plaats op NAS: /volume1/docker/gitea/
#
# Bouwen & starten: docker-compose up -d
# Web UI: http://192.168.1.211:3000
# Git SSH clone: git clone ssh://git@192.168.1.211:2222/gebruiker/repo.git
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: unless-stopped
network_mode: host
environment:
- USER_UID=1026
- USER_GID=100
- TZ=Europe/Brussels
# SSH op alternatieve poort (2222) — NAS gebruikt poort 22
- GITEA__server__SSH_PORT=2222
- GITEA__server__SSH_LISTEN_PORT=2222
- GITEA__server__DOMAIN=192.168.1.211
- GITEA__server__ROOT_URL=http://192.168.1.211:3000
- GITEA__server__HTTP_PORT=3000
- GITEA__server__DISABLE_SSH=false
- GITEA__server__START_SSH_SERVER=true
volumes:
- gitea-data:/data
- gitea-config:/etc/gitea
volumes:
gitea-data:
gitea-config: