Browse Source

Sync old template

Robert Middleswarth 3 năm trước cách đây
mục cha
commit
8db821ac45
1 tập tin đã thay đổi với 25 bổ sung5 xóa
  1. 25 5
      pi-hosted_template/template/portainer-v2.json

+ 25 - 5
pi-hosted_template/template/portainer-v2.json

@@ -538,7 +538,7 @@
 			"platform": "linux",
 			"restart_policy": "unless-stopped",
 			"title": "Cloudflare DDNS",
-			"type": 3
+			"type": 1
 		},
 		{
 			"categories": [
@@ -4069,7 +4069,7 @@
 				"139:139/tcp",
 				"445:445/tcp"
 			],
-			"command": "-s 'portainer;/share;yes;no;yes;guest' -g 'map to guest = never' -g 'restrict anonymous = 2'",
+			"command": "",
 			"restart_policy": "unless-stopped",
 			"title": "Samba",
 			"type": 1,
@@ -4080,15 +4080,35 @@
 					"label": "PUID",
 					"name": "PUID"
 				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				},
+				{
+					"default": "1000",
+					"label": "USERID",
+					"name": "USERID"
+				},
+				{
+					"default": "1000",
+					"label": "GROUPID",
+					"name": "GROUPID"
+				},
 				{
 					"default": "guest;guest",
 					"label": "USER",
 					"name": "USER"
 				},
 				{
-					"default": "1000",
-					"label": "PGID",
-					"name": "PGID"
+					"default": "true",
+					"label": "PERMISSIONS",
+					"name": "PERMISSIONS"
+				},
+				{
+					"default": "portainer;/share;yes;no;yes;guest",
+					"label": "SHARE",
+					"name": "SHARE"
 				}
 			],
 			"volumes": [