grimoirelab
grimoirelab copied to clipboard
strenghen "secure" docker deployment
Hi, I'm aware that for now the docker-compose setup is intended to showcasing the platform. There is even a warning:
Deployed infrastructure following previous steps doesn't provide any security protection on the data generated, so don't use this for production environments or in public access environments.
So it looks a bit confusing to me. On one hand we call it "secured", but on another we're telling that the data is unprotected. I feel that if we keep calling this a "secured" setup we should develop how to strengthen it a little in terms of security, what do you think ?
So the question also boils down to : who have experience in running GL docker stack in production context ?
Some ideas (in bulk):
-
While it's mentioned that the default SG/Kibiter passwords can possibly be changed, it's not detailed how to do it (it's not that straightforward as far as I can see). And also tell by which services are potentially used those credentials.
-
unexpose elasticsearch / port 9200 https://github.com/chaoss/grimoirelab/blob/580fde95ed96cec19e6fdd90618523c6f2a1e934/docker-compose/docker-compose-secured.yml#L29-L30
-
If we keep exposing ES, we could suggest IP filtering by firewall rules and/or a reverse proxy setup
-
Explain a bit more about SSL/TLS:
- Kibiter: might need a reverse proxy to get a working https:// connectivity
- ES: use a self-signed certificate by default. Is it good / bad ? Depends if it's exposed... How to change it ? reverse proxy ?
- same thing for sorting hatsall
In terms of deployment, maybe have something explaining what to do to turn the "demo" into something more specific.
Just in case it matters, I'm working on a container with GrimoireLab and the usual servers, using OpenDistro for Elasticsearch / Kibana, thus providing SSL access to Elasticsearch, and (potentially) to Kibana. Stay tuned... This is intended to be a new version of the grimoirelab/full container.
@jgbarah Hello, I don't know if it can be of help, so far I have used https://traefik.io to secure the SSL communication for my containers.
Please also add how to secure Kibiter using the grimoirelab/full container in docker, thank you!
Thx! I dropped the ball in this project, I'll try to come back to it. Thanks for the suggestion.
The current docker compose offers how to use the images with OpenSearch security plugins.