Sfoglia il codice sorgente

fixed volumes on samba

novaspirit 3 anni fa
parent
commit
ee0b09912c

+ 2 - 2
pi-hosted_template/template/portainer-v2.json

@@ -3899,8 +3899,8 @@
 			],
 			],
 			"volumes": [
 			"volumes": [
 				{
 				{
-					"bind": "/portainer/",
-					"container": "/mount"
+					"bind": "/portainer/Downloads",
+					"container": "/share"
 				}
 				}
 			]
 			]
 		},
 		},

+ 3 - 3
template/portainer-v2-arm32.json

@@ -3880,7 +3880,7 @@
 				"139:139/tcp",
 				"139:139/tcp",
 				"445:445/tcp"
 				"445:445/tcp"
 			],
 			],
-			"command": "-s 'portainer:/mount:rw'",
+			"command": "-s 'portainer;/share;yes;no;yes'",
 			"restart_policy": "unless-stopped",
 			"restart_policy": "unless-stopped",
 			"title": "Samba",
 			"title": "Samba",
 			"type": 1,
 			"type": 1,
@@ -3899,8 +3899,8 @@
 			],
 			],
 			"volumes": [
 			"volumes": [
 				{
 				{
-					"bind": "/portainer/",
-					"container": "/mount"
+					"bind": "/portainer/Downloads",
+					"container": "/share"
 				}
 				}
 			]
 			]
 		},
 		},

+ 3 - 3
template/portainer-v2-arm64.json

@@ -3920,7 +3920,7 @@
 				"139:139/tcp",
 				"139:139/tcp",
 				"445:445/tcp"
 				"445:445/tcp"
 			],
 			],
-			"command": "-s 'portainer:/mount:rw'",
+			"command": "-s 'portainer;/share;yes;no;yes'",
 			"restart_policy": "unless-stopped",
 			"restart_policy": "unless-stopped",
 			"title": "Samba",
 			"title": "Samba",
 			"type": 1,
 			"type": 1,
@@ -3939,8 +3939,8 @@
 			],
 			],
 			"volumes": [
 			"volumes": [
 				{
 				{
-					"bind": "/portainer/",
-					"container": "/mount"
+					"bind": "/portainer/Downloads",
+					"container": "/share"
 				}
 				}
 			]
 			]
 		},
 		},