postgres: declare the data directory's real owner; keycloak: use the port template #55

Merged
jschoubben merged 4 commits from fix/postgres-owner-and-keycloak-port-template into main 2026-09-26 13:05:10 +00:00
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -88,7 +88,9 @@
"env": { "env": {
"KC_DB": "postgres", "KC_DB": "postgres",
"KC_HTTP_ENABLED": "true", "KC_HTTP_ENABLED": "true",
"KC_HEALTH_ENABLED": "true" "KC_HEALTH_ENABLED": "true",
"KC_HOSTNAME": "https://keycloak.novox.be",
"KC_PROXY_HEADERS": "xforwarded"
}, },
"env-file": [ "env-file": [
"/var/lib/keycloak/admin.env", "/var/lib/keycloak/admin.env",
@@ -118,7 +120,7 @@
], ],
"env": { "env": {
"MESH_BROKER_FILE": "/run/secrets/broker", "MESH_BROKER_FILE": "/run/secrets/broker",
"MESH_KEYCLOAK_URL": "http://127.0.0.1:8080", "MESH_KEYCLOAK_URL": "http://127.0.0.1:${port:8080}",
"MESH_KEYCLOAK_CONFIG_FILE": "/run/config/config.json" "MESH_KEYCLOAK_CONFIG_FILE": "/run/config/config.json"
}, },
"restart-on": [ "restart-on": [
+2 -1
View File
@@ -73,7 +73,8 @@
"id": "store-data", "id": "store-data",
"type": "directory", "type": "directory",
"path": "/var/lib/mesh-store", "path": "/var/lib/mesh-store",
"mode": "0700" "mode": "0700",
"owner": "999:70"
}, },
{ {
"id": "server", "id": "server",