ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
Close the bundled Gitea to the internet and signups
Juan Denis90c8fb0eacbc
diff --git a/backend/templates/gitea.yaml b/backend/templates/gitea.yamlindex 3e220c15..ecf06c01 100644--- a/backend/templates/gitea.yaml+++ b/backend/templates/gitea.yaml@@ -1,6 +1,6 @@id: giteaname: Gitea-version: "1.21"+version: "1.27"description: Lightweight self-hosted Git serviceicon: https://serverkit.ai/imgs/template-icons/gitea.svgcategories:@@ -33,11 +33,14 @@ variables:compose:services:app:- image: gitea/gitea:1.21+ image: gitea/gitea:1.27container_name: ${APP_NAME}restart: unless-stoppedports:- - "${HTTP_PORT}:3000"+ # Web traffic goes through the panel's nginx at /gitea, never straight+ # to the port: an exposed Gitea with open signups was used to run a+ # cryptominer on a panel.+ - "127.0.0.1:${HTTP_PORT}:3000"- "${SSH_PORT}:22"environment:USER_UID: 1000@@ -48,6 +51,8 @@ compose:GITEA__database__USER: giteaGITEA__database__PASSWD: "${DB_PASSWORD}"GITEA__security__SECRET_KEY: "${SECRET_KEY}"+ GITEA__service__DISABLE_REGISTRATION: "true"+ GITEA__openid__ENABLE_OPENID_SIGNUP: "false"volumes:- gitea-data:/data- /etc/timezone:/etc/timezone:rodiff --git a/backend/templates/index.json b/backend/templates/index.jsonindex d4f4a4cc..1ad20774 100644--- a/backend/templates/index.json+++ b/backend/templates/index.json@@ -404,7 +404,7 @@{"id": "gitea","name": "Gitea",- "version": "1.21",+ "version": "1.27","description": "Lightweight self-hosted Git service","icon": "https://serverkit.ai/imgs/template-icons/gitea.svg","categories": [