瀏覽代碼

Adds caddy template (#202)

Co-authored-by: Konstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>
Konstantinos Kostarellis 3 年之前
父節點
當前提交
aeffa05f1a
共有 4 個文件被更改,包括 105 次插入0 次删除
  1. 二進制
      images/caddy.png
  2. 35 0
      pi-hosted_template/template/portainer-v2.json
  3. 35 0
      template/portainer-v2-arm32.json
  4. 35 0
      template/portainer-v2-arm64.json

二進制
images/caddy.png


+ 35 - 0
pi-hosted_template/template/portainer-v2.json

@@ -331,6 +331,41 @@
 			"title": "Bookstack",
 			"type": 3
 		},
+		{
+			"categories": [
+				"Tools",
+				"Web",
+				"Webserver"
+			],
+			"description": "Caddy - The Ultimate Server with Automatic HTTPS",
+			"image": "caddy:latest",
+			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/caddy.png",
+			"name": "caddy",
+			"note": "Caddy 2 is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go",
+			"platform": "linux",
+			"ports": [
+					"80/tcp",
+					"443/tcp",
+					"2019/tcp"
+			],
+			"restart_policy": "unless-stopped",
+			"title": "Caddy",
+			"type": 1,
+			"volumes": [
+					{
+							"bind": "/portainer/Files/AppData/Data/Caddy",
+							"container": "/data"
+					},
+					{
+							"bind": "/portainer/Files/AppData/Config/Caddy",
+							"container": "/config"
+					},
+					{
+							"bind": "/portainer/Files/AppData/Config/Caddyfile",
+							"container": "/etc/caddy/Caddyfile"
+					}
+			]
+		},
 		{
 			"categories": [
 				"Other",

+ 35 - 0
template/portainer-v2-arm32.json

@@ -331,6 +331,41 @@
 			"title": "Bookstack",
 			"type": 3
 		},
+		{
+			"categories": [
+				"Tools",
+				"Web",
+				"Webserver"
+			],
+			"description": "Caddy - The Ultimate Server with Automatic HTTPS",
+			"image": "caddy:latest",
+			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/caddy.png",
+			"name": "caddy",
+			"note": "Caddy 2 is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go",
+			"platform": "linux",
+			"ports": [
+					"80/tcp",
+					"443/tcp",
+					"2019/tcp"
+			],
+			"restart_policy": "unless-stopped",
+			"title": "Caddy",
+			"type": 1,
+			"volumes": [
+					{
+							"bind": "/portainer/Files/AppData/Data/Caddy",
+							"container": "/data"
+					},
+					{
+							"bind": "/portainer/Files/AppData/Config/Caddy",
+							"container": "/config"
+					},
+					{
+							"bind": "/portainer/Files/AppData/Config/Caddyfile",
+							"container": "/etc/caddy/Caddyfile"
+					}
+			]
+		},
 		{
 			"categories": [
 				"Other",

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

@@ -331,6 +331,41 @@
 			"title": "Bookstack",
 			"type": 3
 		},
+		{
+			"categories": [
+				"Tools",
+				"Web",
+				"Webserver"
+			],
+			"description": "Caddy - The Ultimate Server with Automatic HTTPS",
+			"image": "caddy:latest",
+			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/caddy.png",
+			"name": "caddy",
+			"note": "Caddy 2 is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go",
+			"platform": "linux",
+			"ports": [
+					"80/tcp",
+					"443/tcp",
+					"2019/tcp"
+			],
+			"restart_policy": "unless-stopped",
+			"title": "Caddy",
+			"type": 1,
+			"volumes": [
+					{
+							"bind": "/portainer/Files/AppData/Data/Caddy",
+							"container": "/data"
+					},
+					{
+							"bind": "/portainer/Files/AppData/Config/Caddy",
+							"container": "/config"
+					},
+					{
+							"bind": "/portainer/Files/AppData/Config/Caddyfile",
+							"container": "/etc/caddy/Caddyfile"
+					}
+			]
+		},
 		{
 			"categories": [
 				"Other",