Merge pull request 'Add DOMAIN_ADMIN and SUB_PATH fields to configuration files' (#46) from dev into main

Reviewed-on: #46
This commit is contained in:
2025-08-31 12:39:28 +00:00
3 changed files with 20 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{ {
"main": { "main": {
"SERVICE_NAME": "matrix", "SERVICE_NAME": "matrix",
"DOMAIN": "#DOMAIN" "DOMAIN": "#DOMAIN_ADMIN"
}, },
"containers": [ "containers": [
{ {
@@ -29,11 +29,14 @@
"PORT": "80" "PORT": "80"
}, },
{ {
"DOMAIN": "#DOMAIN" "DOMAIN": "#DOMAIN_ADMIN"
}, },
{ {
"SMARTHOST_PROXY_PATH": "/smarthost-domains" "SMARTHOST_PROXY_PATH": "/smarthost-domains"
}, },
{
"LOCAL_PATH": "#SUB_PATH"
},
{ {
"OPERATION": "CREATE" "OPERATION": "CREATE"
} }

View File

@@ -22,6 +22,8 @@
}, },
"matrixadmin": { "matrixadmin": {
"REACT_APP_SERVER": "https://#DOMAIN", "REACT_APP_SERVER": "https://#DOMAIN",
"BASE_PATH": "/synapse-admin" "BASE_PATH": "/synapse-admin",
"DOMAIN_ADMIN": "#DOMAIN_ADMIN",
"SUB_PATH": "#SUB_PATH"
} }
} }

View File

@@ -24,6 +24,18 @@
"required": "true", "required": "true",
"type": "password" "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", "description": "Postgres database name",
"key": "POSTGRES_DB", "key": "POSTGRES_DB",