Browse Source

added puid guid for samba

novaspirit 3 years ago
parent
commit
728b5bcc6c
2 changed files with 28 additions and 0 deletions
  1. 14 0
      template/portainer-v2-arm32.json
  2. 14 0
      template/portainer-v2-arm64.json

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

@@ -3880,9 +3880,23 @@
 				"139:139/tcp",
 				"445:445/tcp"
 			],
+			"command": "--hostname 'pihosted'",
 			"restart_policy": "unless-stopped",
 			"title": "Samba",
 			"type": 1,
+			"privileged": "true",
+			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				}
+			],
 			"volumes": [
 				{
 					"bind": "/portainer/",

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

@@ -3920,9 +3920,23 @@
 				"139:139/tcp",
 				"445:445/tcp"
 			],
+			"command": "--hostname 'pihosted'",
 			"restart_policy": "unless-stopped",
 			"title": "Samba",
 			"type": 1,
+			"privileged": "true",
+			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				}
+			],
 			"volumes": [
 				{
 					"bind": "/portainer/",