n8n and baserow no longer take the shared cache (issue 081) #37

Merged
jschoubben merged 3 commits from multiple-fixes into main 2026-09-22 11:53:14 +00:00
3 changed files with 7 additions and 13 deletions
+4 -7
View File
@@ -6,7 +6,6 @@
], ],
"requires": [ "requires": [
"postgres-database", "postgres-database",
"redis-cache",
"route" "route"
], ],
"contributes": { "contributes": {
@@ -20,12 +19,10 @@
}, },
"binds": { "binds": {
"postgres-database": "/var/lib/baserow/database.json", "postgres-database": "/var/lib/baserow/database.json",
"redis-cache": "/var/lib/baserow/redis.json",
"route": "/var/lib/baserow/route.json" "route": "/var/lib/baserow/route.json"
}, },
"secrets": { "secrets": {
"postgres-database": "/var/lib/baserow/database.secret", "postgres-database": "/var/lib/baserow/database.secret"
"redis-cache": "/var/lib/baserow/redis.secret"
}, },
"own-secrets": { "own-secrets": {
"secret-key": "/var/lib/baserow/secret-key.secret", "secret-key": "/var/lib/baserow/secret-key.secret",
@@ -56,7 +53,7 @@
"id": "data", "id": "data",
"type": "directory", "type": "directory",
"path": "/services/baserow/data", "path": "/services/baserow/data",
"mode": "0700", "mode": "0755",
"owner": "9999:9999" "owner": "9999:9999"
}, },
{ {
@@ -64,7 +61,7 @@
"type": "file", "type": "file",
"path": "/var/lib/baserow/server.env", "path": "/var/lib/baserow/server.env",
"mode": "0600", "mode": "0600",
"content": "DATABASE_HOST=${bound:postgres-database:at}\nDATABASE_PORT=${bound:postgres-database:port}\nDATABASE_NAME=${bound:postgres-database:as}\nDATABASE_USER=${bound:postgres-database:as}\nDATABASE_PASSWORD=${secret:postgres-database}\nREDIS_HOST=${bound:redis-cache:at}\nREDIS_PORT=${bound:redis-cache:port}\nREDIS_PROTOCOL=redis\nREDIS_PASSWORD=${secret:redis-cache}\nSECRET_KEY=${secret:secret-key}\nBASEROW_PUBLIC_URL=http://localhost\n" "content": "DATABASE_HOST=${bound:postgres-database:at}\nDATABASE_PORT=${bound:postgres-database:port}\nDATABASE_NAME=${bound:postgres-database:as}\nDATABASE_USER=${bound:postgres-database:as}\nDATABASE_PASSWORD=${secret:postgres-database}\nSECRET_KEY=${secret:secret-key}\nBASEROW_PUBLIC_URL=http://localhost\n"
}, },
{ {
"id": "net", "id": "net",
@@ -86,7 +83,7 @@
"volumes": [ "volumes": [
"/services/baserow/data:/baserow/data" "/services/baserow/data:/baserow/data"
], ],
"secrets-in-environment": "baserow reads DATABASE_PASSWORD, REDIS_PASSWORD and SECRET_KEY with os.getenv and has no _FILE twin (settings/base.py); not convertible" "secrets-in-environment": "baserow reads DATABASE_PASSWORD and SECRET_KEY with os.getenv and has no _FILE twin (settings/base.py); not convertible"
}, },
{ {
"id": "runtime-config", "id": "runtime-config",
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "@novox/module-baserow", "name": "@novox/module-baserow",
"version": "0.1.0", "version": "0.1.0",
"description": "baserow — open-source no-code database. A consumer of a mesh Postgres database and Redis cache, with its own tools (novox/hq ADR 0039).", "description": "baserow — open-source no-code database. A consumer of a mesh Postgres database, keeping its own cache, with its own tools (novox/hq ADR 0039).",
"type": "module", "type": "module",
"private": true, "private": true,
"dependencies": { "dependencies": {
+2 -5
View File
@@ -6,7 +6,6 @@
], ],
"requires": [ "requires": [
"postgres-database", "postgres-database",
"redis-cache",
"route" "route"
], ],
"contributes": { "contributes": {
@@ -20,12 +19,10 @@
}, },
"binds": { "binds": {
"postgres-database": "/var/lib/n8n/database.json", "postgres-database": "/var/lib/n8n/database.json",
"redis-cache": "/var/lib/n8n/redis.json",
"route": "/var/lib/n8n/route.json" "route": "/var/lib/n8n/route.json"
}, },
"secrets": { "secrets": {
"postgres-database": "/var/lib/n8n/database.secret", "postgres-database": "/var/lib/n8n/database.secret"
"redis-cache": "/var/lib/n8n/redis.secret"
}, },
"own-secrets": { "own-secrets": {
"basic-auth": "/var/lib/n8n/basic-auth.secret" "basic-auth": "/var/lib/n8n/basic-auth.secret"
@@ -57,7 +54,7 @@
"type": "file", "type": "file",
"path": "/var/lib/n8n/server.env", "path": "/var/lib/n8n/server.env",
"mode": "0600", "mode": "0600",
"content": "N8N_HOST=n8n.novox.be\nN8N_PORT=5678\nN8N_PROTOCOL=https\nWEBHOOK_URL=https://n8n.novox.be/\nN8N_BASIC_AUTH_ACTIVE=true\nN8N_BASIC_AUTH_USER=admin\nN8N_BASIC_AUTH_PASSWORD=${secret:basic-auth}\nNODE_FUNCTION_ALLOW_BUILTIN=*\nNODE_FUNCTION_ALLOW_EXTERNAL=*\nDB_TYPE=postgresdb\nDB_POSTGRESDB_HOST=${bound:postgres-database:at}\nDB_POSTGRESDB_PORT=${bound:postgres-database:port}\nDB_POSTGRESDB_DATABASE=${bound:postgres-database:as}\nDB_POSTGRESDB_USER=${bound:postgres-database:as}\nDB_POSTGRESDB_PASSWORD=${secret:postgres-database}\nQUEUE_BULL_REDIS_HOST=${bound:redis-cache:at}\nQUEUE_BULL_REDIS_PORT=${bound:redis-cache:port}\nQUEUE_BULL_REDIS_PASSWORD=${secret:redis-cache}\n" "content": "N8N_HOST=n8n.novox.be\nN8N_PORT=5678\nN8N_PROTOCOL=https\nWEBHOOK_URL=https://n8n.novox.be/\nN8N_BASIC_AUTH_ACTIVE=true\nN8N_BASIC_AUTH_USER=admin\nN8N_BASIC_AUTH_PASSWORD=${secret:basic-auth}\nNODE_FUNCTION_ALLOW_BUILTIN=*\nNODE_FUNCTION_ALLOW_EXTERNAL=*\nDB_TYPE=postgresdb\nDB_POSTGRESDB_HOST=${bound:postgres-database:at}\nDB_POSTGRESDB_PORT=${bound:postgres-database:port}\nDB_POSTGRESDB_DATABASE=${bound:postgres-database:as}\nDB_POSTGRESDB_USER=${bound:postgres-database:as}\nDB_POSTGRESDB_PASSWORD=${secret:postgres-database}\n"
}, },
{ {
"id": "net", "id": "net",