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

29 add additional services #30

Merged

Conversation

hasanheroglu
Copy link
Contributor

Closes #29.

Here we have new services:

  • Portainer: dashboard to manager our containers
  • Prometheus: exports information from docker cAdvisor and traefik
  • Grafana: visualize exported monitoring data via Prometheus
  • cAdvisor: export information from containers

Docker compose files

I have separated docker-compose file into two docker-compose files to make it easy to maintain:

  • docker-compose-things.yaml: consists of configuration for test-things
  • docker-compose-infra.yaml: consists of infrastructural tools such as portainer, traefik, grafana, cadvisor

Auth & Authz

Regarding auth & authz for additional services, I added simple basic auth for now; maybe it will be easier to see how the tools work together while testing this PR. Therefore, this PR would also close #26.

Portainer alternatives

Similar tools to Portainer:

What I would suggest is that we try Portainer and see how it fits our usage. Since we don't depend on it critically, it would be easy to switch to something else in the future.

Resource usages

I have seen varying usage of resources for CPU (5-20%) and memory (400-500MB). I have already put limits in docker files for resource usage, but we can adjust them in the future depending on our needs.

.env Outdated Show resolved Hide resolved
@egekorkan
Copy link
Member

Additionally, we can also save the dashboard config in GitHub. That way, anyone who tests locally can replicate the hosted dashboard

@egekorkan egekorkan merged commit 072fb5f into eclipse-thingweb:main Aug 2, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

Additional Services Authentication for Traefik Dashboard
2 participants