瀏覽代碼

Update portainer-v2.json (#117)

Updated the FoundryVTT config variables to be user customizable.  Also added a variable that will allow for a persistent server config once one is generated.  In its current state the server config is generated at each runtime making the changing of ports and other options impossible.
Chris P 3 年之前
父節點
當前提交
a9fd4d240e
共有 1 個文件被更改,包括 16 次插入3 次删除
  1. 16 3
      pi-hosted_template/template/portainer-v2.json

+ 16 - 3
pi-hosted_template/template/portainer-v2.json

@@ -310,9 +310,22 @@
 			],
 			"env": [
 				{
-					"FOUNDRY_PASSWORD": "Foundry Password",
-					"FOUNDRY_USERNAME": "Foundry Account",
-					"FOUNDRY_ADMIN_KEY": "Instance Password"
+					"default": "John",
+					"label": "Foundry Account Name",
+					"name": "FOUNDRY_USERNAME"
+				},
+				{
+					"default": "password",
+					"label": "Foundry Password",
+					"name": "FOUNDRY_PASSWORD"
+				},
+				{
+					"default": "changeme",
+					"label": "Instance Admin Password",
+					"name": "FOUNDRY_ADMIN_KEY"
+				},
+				{
+					"CONTAINER_PRESERVE_CONFIG": "true"
 				}
 			],
 			"restart_polocy": "unless-stopped",