How to setup websocket for Superset? #33293
Replies: 1 comment 3 replies
-
To set up a WebSocket for Superset after cloning the repository and checking out tag 4.1.2, you need to ensure that your superset-websocket:
container_name: superset_websocket
build: ./superset-websocket
ports:
- 8080:8080
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- redis
volumes:
- ./superset-websocket:/home/superset-websocket
- /home/superset-websocket/node_modules
- /home/superset-websocket/dist
- ./docker/superset-websocket/config.json:/home/superset-websocket/config.json
environment:
- PORT=8080
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_SSL=false Make sure the {
"port": 8080,
"logLevel": "info",
"logToFile": false,
"logFilename": "app.log",
"statsd": {
"host": "127.0.0.1",
"port": 8125,
"globalTags": []
},
"redis": {
"port": 6379,
"host": "127.0.0.1",
"password": "",
"db": 0,
"ssl": false
},
"redisStreamPrefix": "async-events-",
"jwtAlgorithms": ["HS256"],
"jwtSecret": "CHANGE-ME-IN-PRODUCTION-GOTTA-BE-LONG-AND-SECRET",
"jwtCookieName": "async-token",
"pingSocketsIntervalMs": 30000,
"socketResponseTimeoutMs": 10000,
"gcChannelsIntervalMs": 60000
} Ensure that your environment meets the requirements for Node.js and Redis as specified in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
Please can u help me to setup websocket for my superset.
For superset, I clone from github of superset and git checkout tag 4.1.2. And I use "docker compose -f docker-compose-image-tag.yml up" to create container for my superset.
Thank you!!
Beta Was this translation helpful? Give feedback.
All reactions