소스 검색

Adds gitea template (#181)

Co-authored-by: Konstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>
Konstantinos Kostarellis 3 년 전
부모
커밋
88b52d2862
2개의 변경된 파일45개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      images/gitea.png
  2. 45 0
      template/portainer-v2-arm64.json

BIN
images/gitea.png


+ 45 - 0
template/portainer-v2-arm64.json

@@ -1366,6 +1366,51 @@
 				}
 			]
 		},
+		{
+			"categories": [
+				"SCM",
+				"Tools"
+			],
+			"description": "A painless self-hosted Git service.",
+			"image": "gitea/gitea:latest",
+			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/gitea.png",
+			"name": "gitea",
+			"note": "More possible Environment Variables: https://docs.gitea.io/en-us/install-with-docker/#managing-deployments-with-environment-variables",
+			"platform": "linux",
+			"ports": [
+				"3000/tcp",
+				"222:22/tcp"
+			],
+			"restart_policy": "unless-stopped",
+			"title": "Gitea",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/portainer/Files/AppData/Gitea",
+					"container": "/data"
+				},
+				{
+					"bind": "/etc/timezone",
+					"container": "/etc/timezone:ro"
+				},
+				{
+					"bind": "/etc/localtime",
+					"container": "/etc/localtime:ro"
+				}
+			],
+			"env": [
+				{
+					"default": "1000",
+					"label": "USER_UID",
+					"name": "USER_UID"
+				},
+				{
+					"default": "1000",
+					"label": "USER_GID",
+					"name": "USER_GID"
+				}
+			]
+		},
 		{
 			"categories": [
 				"Other",