Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we have multiple MISP containers use the same redis server? #219

Open
cudeso opened this issue Feb 18, 2025 · 1 comment
Open

Can we have multiple MISP containers use the same redis server? #219

cudeso opened this issue Feb 18, 2025 · 1 comment

Comments

@cudeso
Copy link
Contributor

cudeso commented Feb 18, 2025

Hello,

If we run multiple MISP containers on the same Docker host can they then all use the same Redis container?
Or should we specify a different redis database per MISP host (the default one is 1 for the background jobs, and 13 for MISP)?

Something similar such as in docker-compose:

services:
redis:
image: valkey/valkey:7.2
networks:
- MISP1_network
- MISP2_network
- MISP3_network

misp1:
hostname: misp_web_misp1
container_name: misp_web_misp1
environment:
- "REDIS_HOST=redis"
- "REDIS_PORT=6379"
- "REDIS_PASSWORD=redispassword"
networks:
- MISP1_network
misp2:
hostname: misp_web_misp2
container_name: misp_web_misp2
environment:
- "REDIS_HOST=redis"
- "REDIS_PORT=6379"
- "REDIS_PASSWORD=redispassword
networks:
- MISP2_network
misp3:
hostname: misp_web_misp3
container_name: misp_web_misp3
environment:
- "REDIS_HOST=redis"
- "REDIS_PORT=6379"
- "REDIS_PASSWORD=redispassword
networks:
- MISP3_network

@ostefano
Copy link
Collaborator

This is a question for misp rather than misp-docker.

My hunch here is that each misp should use a different db (which is not exposed at the moment as a setting)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants