feat(fw): update to 25.11
This commit is contained in:
@@ -19,21 +19,19 @@
|
||||
};
|
||||
|
||||
# n8n service configuration
|
||||
services.n8n = {
|
||||
enable = true;
|
||||
settings = {
|
||||
database.type = "postgresdb";
|
||||
database.postgresdb.host = "/run/postgresql";
|
||||
database.postgresdb.database = "n8n";
|
||||
database.postgresdb.user = "n8n";
|
||||
executions.pruneData = true;
|
||||
executions.pruneDataMaxAge = 168; # 7 days
|
||||
};
|
||||
};
|
||||
services.n8n.enable = true;
|
||||
|
||||
# Configure git integration via environment variables
|
||||
# Configure n8n via environment variables
|
||||
systemd.services.n8n = {
|
||||
environment = lib.mkForce {
|
||||
# Database configuration (migrated from services.n8n.settings)
|
||||
DB_TYPE = "postgresdb";
|
||||
DB_POSTGRESDB_HOST = "/run/postgresql";
|
||||
DB_POSTGRESDB_DATABASE = "n8n";
|
||||
DB_POSTGRESDB_USER = "n8n";
|
||||
EXECUTIONS_DATA_PRUNE = "true";
|
||||
EXECUTIONS_DATA_MAX_AGE = "168"; # 7 days
|
||||
# Other settings
|
||||
N8N_ENCRYPTION_KEY = ""; # Will be set via environmentFile
|
||||
N8N_VERSION_NOTIFICATIONS_ENABLED = "false";
|
||||
N8N_DIAGNOSTICS_ENABLED = "false";
|
||||
|
||||
Reference in New Issue
Block a user