test: Use task runner in benchmarks (#12601)

This commit is contained in:
Tomi Turtiainen 2025-01-16 11:06:29 +02:00 committed by GitHub
parent 95c40c02cb
commit 558570f431
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 27 additions and 1 deletions

View file

@ -32,6 +32,9 @@ services:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
ports:
- 5678:5678
volumes:

View file

@ -50,6 +50,9 @@ services:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
command: worker
volumes:
- ${RUN_DIR}/n8n-worker1:/n8n
@ -82,6 +85,9 @@ services:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
command: worker
volumes:
- ${RUN_DIR}/n8n-worker2:/n8n
@ -117,6 +123,9 @@ services:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
volumes:
- ${RUN_DIR}/n8n-main2:/n8n
depends_on:
@ -154,7 +163,9 @@ services:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
volumes:
- ${RUN_DIR}/n8n-main1:/n8n
depends_on:

View file

@ -48,6 +48,9 @@ services:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
command: worker
volumes:
- ${RUN_DIR}/n8n-worker1:/n8n
@ -78,6 +81,9 @@ services:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
command: worker
volumes:
- ${RUN_DIR}/n8n-worker2:/n8n
@ -109,6 +115,9 @@ services:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
ports:
- 5678:5678
volumes:

View file

@ -14,6 +14,9 @@ services:
- N8N_USER_FOLDER=/n8n
- DB_SQLITE_POOL_SIZE=3
- DB_SQLITE_ENABLE_WAL=true
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
ports:
- 5678:5678
volumes: