mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix(benchmark): Fix scaling mode setup (#10780)
This commit is contained in:
parent
8c6cd014a0
commit
8496adb94f
|
@ -154,7 +154,7 @@ services:
|
|||
- DB_POSTGRESDB_PASSWORD=password
|
||||
|
||||
volumes:
|
||||
- ${RUN_DIR}/n8n-main:/n8n
|
||||
- ${RUN_DIR}/n8n-main1:/n8n
|
||||
depends_on:
|
||||
n8n_worker1:
|
||||
condition: service_healthy
|
||||
|
|
|
@ -8,7 +8,7 @@ import { fs } from 'zx';
|
|||
* permissions get set correctly.
|
||||
*/
|
||||
export function setup({ runDir }) {
|
||||
const neededDirs = ['n8n-worker1', 'n8n-worker2', 'n8n-main1', 'n8n_main2', 'postgres'];
|
||||
const neededDirs = ['n8n-worker1', 'n8n-worker2', 'n8n-main1', 'n8n-main2', 'postgres'];
|
||||
|
||||
for (const dir of neededDirs) {
|
||||
fs.ensureDirSync(path.join(runDir, dir));
|
||||
|
|
Loading…
Reference in a new issue