mirror of
https://github.com/qeeqbox/social-analyzer.git
synced 2026-05-26 13:54:38 +00:00
Fix error 'SE_EVENT_BUS_HOST not set, exiting!'
As the version for the `selenium/node-firefox` image is not fixed, the environment variables needs to be adjusted accordingly. I've added `CPU_CORES` as an external variable that can be adjusted or defaults to `2` CPU cores.
This commit is contained in:
+4
-4
@@ -23,10 +23,10 @@ services:
|
||||
depends_on:
|
||||
- hub
|
||||
environment:
|
||||
HUB_PORT_4444_TCP_ADDR: hub
|
||||
HUB_PORT_4444_TCP_PORT: 4444
|
||||
NODE_MAX_SESSION: 2
|
||||
NODE_MAX_INSTANCES: 10
|
||||
SE_EVENT_BUS_HOST: hub
|
||||
SE_EVENT_BUS_PUBLISH_PORT: 4442
|
||||
SE_EVENT_BUS_SUBSCRIBE_PORT: 4443
|
||||
SE_NODE_MAX_SESSIONS: ${CPU_CORES:-2}
|
||||
volumes:
|
||||
- /dev/shm:/dev/shm
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user