Compare commits

...

28 Commits

Author SHA1 Message Date
366fa1d6b8 Merge pull request 'Update volume destination paths in service-matrix.json and service-pocketid.json for PostgreSQL data' (#58) from dev into main
Reviewed-on: #58
2025-09-02 12:16:51 +00:00
gyurix
f5130b0c57 Update volume destination paths in service-matrix.json and service-pocketid.json for PostgreSQL data 2025-09-02 14:16:22 +02:00
082ae8fcf8 Merge pull request 'Update EXTRA configuration in service-matrix.json for container cleanup' (#57) from dev into main
Reviewed-on: #57
2025-09-02 09:50:06 +00:00
gyurix
1ef0fd1f5c Update EXTRA configuration in service-matrix.json for container cleanup 2025-09-02 11:31:52 +02:00
984a61d036 Merge pull request 'Remove unnecessary EXTRA configuration from service-matrix.json' (#56) from dev into main
Reviewed-on: #56
2025-09-02 09:17:42 +00:00
gyurix
ca41276ecf Remove unnecessary EXTRA configuration from service-matrix.json 2025-09-02 11:14:15 +02:00
08c4e49d82 Merge pull request 'Update volume mapping in service-matrix.json for improved clarity' (#55) from dev into main
Reviewed-on: #55
2025-09-02 09:09:09 +00:00
gyurix
7a2a4e90ed Update volume mapping in service-matrix.json for improved clarity 2025-09-02 11:08:41 +02:00
b232e22427 Merge pull request 'Remove unused PORTS configuration from service-matrix.json' (#54) from dev into main
Reviewed-on: #54
2025-09-02 08:56:46 +00:00
gyurix
4bb61da615 Remove unused PORTS configuration from service-matrix.json 2025-09-02 10:56:19 +02:00
2649856b30 Merge pull request 'Rename matrixserver-setup to matrixserver-dbinit and add new volume mapping for input data' (#53) from dev into main
Reviewed-on: #53
2025-09-02 08:35:00 +00:00
gyurix
e3862bbeb7 Rename matrixserver-setup to matrixserver-dbinit and add new volume mapping for input data 2025-09-02 10:33:26 +02:00
bf944dee1b Merge pull request 'Refactor configuration file structure for enhanced readability and organization' (#52) from dev into main
Reviewed-on: #52
2025-09-01 14:23:30 +00:00
gyurix
fc0197dcf1 Refactor configuration file structure for enhanced readability and organization 2025-09-01 16:22:29 +02:00
bc26466fab Merge pull request 'Update SUBPATH details in template.json for clearer usage instructions' (#51) from dev into main
Reviewed-on: #51
2025-09-01 08:18:31 +00:00
gyurix
c30a5ceadb Update SUBPATH details in template.json for clearer usage instructions 2025-09-01 10:17:54 +02:00
24b9f416b5 Merge pull request 'Rename LOCAL_PATH to LOCATION in domain-matrix-admin.json for clarity' (#50) from dev into main
Reviewed-on: #50
2025-09-01 08:10:32 +00:00
gyurix
fcc452af8a Rename LOCAL_PATH to LOCATION in domain-matrix-admin.json for clarity 2025-09-01 10:09:57 +02:00
5598cd2e4e Merge pull request 'Update domain keys in configuration files for consistency and clarity' (#49) from dev into main
Reviewed-on: #49
2025-09-01 08:06:01 +00:00
gyurix
daaa19d32a Update domain keys in configuration files for consistency and clarity 2025-09-01 10:05:22 +02:00
a860503297 Merge pull request 'Refactor matrix configuration structure for improved clarity and maintainability' (#48) from dev into main
Reviewed-on: #48
2025-08-31 17:58:06 +00:00
gyurix
2129a7e8f9 Refactor matrix configuration structure for improved clarity and maintainability 2025-08-31 19:57:40 +02:00
aecfab545d Merge pull request 'Update domain and path keys in configuration files for consistency' (#47) from dev into main
Reviewed-on: #47
2025-08-31 12:46:36 +00:00
gyurix
22e37d90af Update domain and path keys in configuration files for consistency 2025-08-31 14:46:04 +02:00
cf27b29d98 Merge pull request 'Add DOMAIN_ADMIN and SUB_PATH fields to configuration files' (#46) from dev into main
Reviewed-on: #46
2025-08-31 12:39:28 +00:00
gyurix
efd077e41a Add DOMAIN_ADMIN and SUB_PATH fields to configuration files 2025-08-31 14:38:12 +02:00
234f2b8379 Merge pull request 'Rename matrix server components and add finalize setup configuration' (#45) from dev into main
Reviewed-on: #45
2025-08-31 12:27:43 +00:00
gyurix
3fbdace533 Rename matrix server components and add finalize setup configuration 2025-08-31 14:27:09 +02:00
5 changed files with 54 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
{ {
"main": { "main": {
"SERVICE_NAME": "matrix", "SERVICE_NAME": "matrix",
"DOMAIN": "#DOMAIN" "DOMAIN": "#ADMINDOMAIN"
}, },
"containers": [ "containers": [
{ {
@@ -29,11 +29,14 @@
"PORT": "80" "PORT": "80"
}, },
{ {
"DOMAIN": "#DOMAIN" "DOMAIN": "#ADMINDOMAIN"
}, },
{ {
"SMARTHOST_PROXY_PATH": "/smarthost-domains" "SMARTHOST_PROXY_PATH": "/smarthost-domains"
}, },
{
"LOCATION": "#SUBPATH"
},
{ {
"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": "#ADMINDOMAIN",
"ADMINDOMAIN": "#ADMINDOMAIN",
"SUBPATH": "#SUBPATH"
} }
} }

View File

@@ -39,7 +39,7 @@
"VOLUMES": [ "VOLUMES": [
{ {
"SOURCE": "/etc/user/data/matrix/db", "SOURCE": "/etc/user/data/matrix/db",
"DEST": "/var/lib/postgresql", "DEST": "/var/lib/postgresql/data",
"TYPE": "rw" "TYPE": "rw"
} }
], ],
@@ -68,7 +68,7 @@
{ {
"IMAGE": "matrixdotorg/synapse", "IMAGE": "matrixdotorg/synapse",
"UPDATE": "true", "UPDATE": "true",
"NAME": "matrixserver", "NAME": "matrixserver-init",
"ROLES": "backend-www", "ROLES": "backend-www",
"MEMORY": "512M", "MEMORY": "512M",
"NETWORK": "matrix-net", "NETWORK": "matrix-net",
@@ -93,7 +93,7 @@
{ {
"IMAGE": "safebox/matrix-setup:latest", "IMAGE": "safebox/matrix-setup:latest",
"UPDATE": "true", "UPDATE": "true",
"NAME": "matrix-setup", "NAME": "matrixserver-dbinit",
"NETWORK": "host", "NETWORK": "host",
"MEMORY": "64M", "MEMORY": "64M",
"VOLUMES": [ "VOLUMES": [
@@ -116,7 +116,7 @@
{ {
"IMAGE": "matrixdotorg/synapse", "IMAGE": "matrixdotorg/synapse",
"UPDATE": "true", "UPDATE": "true",
"NAME": "matrixserver", "NAME": "matrixserver-app",
"ROLES": "backend-www", "ROLES": "backend-www",
"MEMORY": "512M", "MEMORY": "512M",
"NETWORK": "matrix-net", "NETWORK": "matrix-net",
@@ -128,13 +128,6 @@
"TYPE": "rw" "TYPE": "rw"
} }
], ],
"PORTS": [
{
"SOURCE": "null",
"DEST": "8008",
"TYPE": "tcp"
}
],
"ENV_FILES": [ "ENV_FILES": [
"/etc/user/secret/matrix/matrix.json" "/etc/user/secret/matrix/matrix.json"
], ],
@@ -148,6 +141,34 @@
"domain-matrix" "domain-matrix"
] ]
}, },
{
"IMAGE": "safebox/matrix-setup:latest",
"UPDATE": "true",
"NAME": "matrixserver-finalize",
"NETWORK": "host",
"MEMORY": "64M",
"VOLUMES": [
{
"SOURCE": "/etc/user/data/matrix/synapse",
"DEST": "/data",
"TYPE": "rw"
},
{
"SOURCE": "SHARED",
"DEST": "/var/tmp/shared",
"TYPE": "rw"
}
],
"ENV_FILES": [
"/etc/user/secret/matrix/matrix.json"
],
"EXTRA": "--rm",
"DEPEND": "null",
"START_ON_BOOT": "false",
"CMD": "null",
"PRE_START": "null",
"POST_START": "null"
},
{ {
"IMAGE": "awesometechnologies/synapse-admin", "IMAGE": "awesometechnologies/synapse-admin",
"UPDATE": "true", "UPDATE": "true",
@@ -173,29 +194,6 @@
"firewall-matrix-admin", "firewall-matrix-admin",
"domain-matrix-admin" "domain-matrix-admin"
] ]
},
{
"IMAGE": "safebox/matrix-setup:latest",
"UPDATE": "true",
"NAME": "matrix-setup",
"NETWORK": "host",
"MEMORY": "64M",
"VOLUMES": [
{
"SOURCE": "/etc/user/data/matrix/synapse",
"DEST": "/data",
"TYPE": "ro"
}
],
"ENV_FILES": [
"/etc/user/secret/matrix/matrix.json"
],
"EXTRA": "--rm",
"DEPEND": "null",
"START_ON_BOOT": "false",
"CMD": "null",
"PRE_START": "null",
"POST_START": "null"
} }
] ]
} }

View File

@@ -24,6 +24,19 @@
"required": "true", "required": "true",
"type": "password" "type": "password"
}, },
{
"description": "Add matrix server admin domain",
"key": "ADMINDOMAIN",
"value": "",
"required": "true",
"details": "Keep it mindful if you have other services using the same domain, for example matrix domain is the same as admin domain you should set it 'admin.domain.tld' now you can access it via https://admin.domain.tld"
},
{
"description": "Add domain subpath for matrix admin (e.g. admin)",
"details": "Optional - leave it 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 you should set it '/admin/' now you can access it via https://domain.tld/admin/",
"key": "SUBPATH",
"value": ""
},
{ {
"description": "Postgres database name", "description": "Postgres database name",
"key": "POSTGRES_DB", "key": "POSTGRES_DB",

View File

@@ -36,7 +36,7 @@
"VOLUMES": [ "VOLUMES": [
{ {
"SOURCE": "/etc/user/data/pocketid/db", "SOURCE": "/etc/user/data/pocketid/db",
"DEST": "/var/lib/postgresql", "DEST": "/var/lib/postgresql/data",
"TYPE": "rw" "TYPE": "rw"
} }
], ],