# 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: