diff --git a/matrix/domain-matrix-admin.json b/matrix/domain-matrix-admin.json index bfb1abf..b212d0e 100644 --- a/matrix/domain-matrix-admin.json +++ b/matrix/domain-matrix-admin.json @@ -1,7 +1,7 @@ { "main": { "SERVICE_NAME": "matrix", - "DOMAIN": "#DOMAIN" + "DOMAIN": "#DOMAIN_ADMIN" }, "containers": [ { @@ -29,11 +29,14 @@ "PORT": "80" }, { - "DOMAIN": "#DOMAIN" + "DOMAIN": "#DOMAIN_ADMIN" }, { "SMARTHOST_PROXY_PATH": "/smarthost-domains" }, + { + "LOCAL_PATH": "#SUB_PATH" + }, { "OPERATION": "CREATE" } diff --git a/matrix/matrix-secret.json b/matrix/matrix-secret.json index 48639b8..8b951ed 100644 --- a/matrix/matrix-secret.json +++ b/matrix/matrix-secret.json @@ -22,6 +22,8 @@ }, "matrixadmin": { "REACT_APP_SERVER": "https://#DOMAIN", - "BASE_PATH": "/synapse-admin" + "BASE_PATH": "/synapse-admin", + "DOMAIN_ADMIN": "#DOMAIN_ADMIN", + "SUB_PATH": "#SUB_PATH" } } \ No newline at end of file diff --git a/matrix/template.json b/matrix/template.json index 1dde126..15c44a8 100644 --- a/matrix/template.json +++ b/matrix/template.json @@ -24,6 +24,18 @@ "required": "true", "type": "password" }, + { + "description": "Add matrix server admin domain", + "key": "DOMAIN_ADMIN", + "value": "", + "required": "true" + }, + { + "description": "Add domain subpath for matrix admin (e.g. admin)", + "details": "Optional - leave blank for none but keep in mind subpath will be required if you have other services using the same domain, for example matrix domain is the same as admin domain.", + "key": "SUB_PATH", + "value": "" + }, { "description": "Postgres database name", "key": "POSTGRES_DB",