Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
a9fd4d240e
1 muutettua tiedostoa jossa 16 lisäystä ja 3 poistoa
  1. 16 3
      pi-hosted_template/template/portainer-v2.json

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

@@ -310,9 +310,22 @@
 			],
 			],
 			"env": [
 			"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",
 			"restart_polocy": "unless-stopped",