فهرست منبع

Add swag template

Robert Middleswarth 2 سال پیش
والد
کامیت
5e745b26fc
2فایلهای تغییر یافته به همراه75 افزوده شده و 0 حذف شده
  1. BIN
      images/swag.png
  2. 75 0
      template/apps/swag.json

BIN
images/swag.png


+ 75 - 0
template/apps/swag.json

@@ -0,0 +1,75 @@
+{
+	"categories": [
+		"Tools",
+		"Web"
+	],
+	"description": "This container sets up an Nginx webserver and reverse proxy with php support and a built-in letsencrypt client that automates free SSL server certificate generation and renewal processes. It also contains fail2ban for intrusion prevention.\r\n  \r\n  Before running this container, make sure that the url and subdomains are properly forwarded to this container's host.\r\n  \r\n  - Port 443 on the internet side of the router should be forwarded to this container's port 443.\r\n  - If you need a dynamic dns provider, you can use the free provider duckdns.org where the url will be yoursubdomain.duckdns.org and the subdomains    can be www,ftp,cloud\r\n  - The container detects changes to url and subdomains, revokes existing certs and generates new ones during start. \r\n  - It also detects changes to the DHLEVEL parameter and replaces the dhparams file.\r\n  \r\n  - If you'd like to password protect your sites, you can use htpasswd. Run the following command on your host to generate the htpasswd file docker exec -it swag htpasswd -c /config/nginx/.htpasswd <username>",
+	"env": [
+		{
+			"default": "abc@example.com",
+			"label": "EMAIL",
+			"name": "EMAIL"
+		},
+		{
+			"default": "-Xms256m -Xmx512m",
+			"label": "URL",
+			"name": "URL"
+		},
+		{
+			"default": "www,",
+			"label": "SUBDOMAINS",
+			"name": "SUBDOMAINS"
+		},
+		{
+			"default": "false",
+			"label": "ONLY_SUBDOMAINS",
+			"name": "ONLY_SUBDOMAINS"
+		},
+		{
+			"default": "2048",
+			"label": "DHLEVEL",
+			"name": "DHLEVEL"
+		},
+		{
+			"default": "1000",
+			"label": "PUID",
+			"name": "PUID"
+		},
+		{
+			"default": "1000",
+			"label": "PGID",
+			"name": "PGID"
+		},
+		{
+			"default": "http",
+			"label": "VALIDATION",
+			"name": "VALIDATION"
+		},
+		{
+			"default": "http",
+			"label": "DNSPLUGIN",
+			"name": "DNSPLUGIN"
+		}
+	],
+	"image_arm32": "linuxserver/swag:latest",
+	"image_arm64": "linuxserver/swag:latest",
+	"image_amd64": "linuxserver/swag:latest",
+	"logo": "https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/images/swag.png",
+	"name": "swag",
+	"officialDoc": "https://docs.linuxserver.io/general/swag",
+	"platform": "linux",
+	"ports": [
+		"80:80/tcp",
+		"443:443/tcp"
+	],
+	"restart_policy": "unless-stopped",
+	"title": "SWAG - Secure Web Application Gateway",
+	"type": 1,
+	"volumes": [
+		{
+			"bind": "/portainer/Files/AppData/Config/swag",
+			"container": "/config"
+		}
+	],
+	"webpage": "https://github.com/linuxserver/docker-swag"
+}