mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-30 22:02:03 -08:00
test: Use task runner in benchmarks (#12601)
This commit is contained in:
parent
95c40c02cb
commit
558570f431
|
@ -32,6 +32,9 @@ services:
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=postgres
|
- DB_POSTGRESDB_HOST=postgres
|
||||||
- DB_POSTGRESDB_PASSWORD=password
|
- DB_POSTGRESDB_PASSWORD=password
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
ports:
|
ports:
|
||||||
- 5678:5678
|
- 5678:5678
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -50,6 +50,9 @@ services:
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=postgres
|
- DB_POSTGRESDB_HOST=postgres
|
||||||
- DB_POSTGRESDB_PASSWORD=password
|
- DB_POSTGRESDB_PASSWORD=password
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
command: worker
|
command: worker
|
||||||
volumes:
|
volumes:
|
||||||
- ${RUN_DIR}/n8n-worker1:/n8n
|
- ${RUN_DIR}/n8n-worker1:/n8n
|
||||||
|
@ -82,6 +85,9 @@ services:
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=postgres
|
- DB_POSTGRESDB_HOST=postgres
|
||||||
- DB_POSTGRESDB_PASSWORD=password
|
- DB_POSTGRESDB_PASSWORD=password
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
command: worker
|
command: worker
|
||||||
volumes:
|
volumes:
|
||||||
- ${RUN_DIR}/n8n-worker2:/n8n
|
- ${RUN_DIR}/n8n-worker2:/n8n
|
||||||
|
@ -117,6 +123,9 @@ services:
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=postgres
|
- DB_POSTGRESDB_HOST=postgres
|
||||||
- DB_POSTGRESDB_PASSWORD=password
|
- DB_POSTGRESDB_PASSWORD=password
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
volumes:
|
volumes:
|
||||||
- ${RUN_DIR}/n8n-main2:/n8n
|
- ${RUN_DIR}/n8n-main2:/n8n
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -154,7 +163,9 @@ services:
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=postgres
|
- DB_POSTGRESDB_HOST=postgres
|
||||||
- DB_POSTGRESDB_PASSWORD=password
|
- DB_POSTGRESDB_PASSWORD=password
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
volumes:
|
volumes:
|
||||||
- ${RUN_DIR}/n8n-main1:/n8n
|
- ${RUN_DIR}/n8n-main1:/n8n
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -48,6 +48,9 @@ services:
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=postgres
|
- DB_POSTGRESDB_HOST=postgres
|
||||||
- DB_POSTGRESDB_PASSWORD=password
|
- DB_POSTGRESDB_PASSWORD=password
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
command: worker
|
command: worker
|
||||||
volumes:
|
volumes:
|
||||||
- ${RUN_DIR}/n8n-worker1:/n8n
|
- ${RUN_DIR}/n8n-worker1:/n8n
|
||||||
|
@ -78,6 +81,9 @@ services:
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=postgres
|
- DB_POSTGRESDB_HOST=postgres
|
||||||
- DB_POSTGRESDB_PASSWORD=password
|
- DB_POSTGRESDB_PASSWORD=password
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
command: worker
|
command: worker
|
||||||
volumes:
|
volumes:
|
||||||
- ${RUN_DIR}/n8n-worker2:/n8n
|
- ${RUN_DIR}/n8n-worker2:/n8n
|
||||||
|
@ -109,6 +115,9 @@ services:
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=postgres
|
- DB_POSTGRESDB_HOST=postgres
|
||||||
- DB_POSTGRESDB_PASSWORD=password
|
- DB_POSTGRESDB_PASSWORD=password
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
ports:
|
ports:
|
||||||
- 5678:5678
|
- 5678:5678
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -14,6 +14,9 @@ services:
|
||||||
- N8N_USER_FOLDER=/n8n
|
- N8N_USER_FOLDER=/n8n
|
||||||
- DB_SQLITE_POOL_SIZE=3
|
- DB_SQLITE_POOL_SIZE=3
|
||||||
- DB_SQLITE_ENABLE_WAL=true
|
- DB_SQLITE_ENABLE_WAL=true
|
||||||
|
# Task Runner config
|
||||||
|
- N8N_RUNNERS_ENABLED=true
|
||||||
|
- N8N_RUNNERS_MODE=internal
|
||||||
ports:
|
ports:
|
||||||
- 5678:5678
|
- 5678:5678
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue