Browse Source

Adds caddy template (#202)

Co-authored-by: Konstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>
Konstantinos Kostarellis 3 years ago
parent
commit
aeffa05f1a

BIN
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",