{"id":22278568,"url":"https://github.com/orestispanago/logger-stack","last_synced_at":"2026-04-07T21:32:09.388Z","repository":{"id":130051312,"uuid":"349576809","full_name":"orestispanago/Logger-stack","owner":"orestispanago","description":"Mosquitto+MySQL+NodeRED+Grafana Docker containers with persistent volumes for IoT dataloggers","archived":false,"fork":false,"pushed_at":"2021-03-21T20:37:47.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T14:06:48.665Z","etag":null,"topics":["docker","docker-compose","grafana","iot","mqtt","mysql","node-red","persistent"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orestispanago.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-03-19T23:07:03.000Z","updated_at":"2023-06-03T07:05:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"1497f5c9-1e66-49f4-a388-39c37a32df70","html_url":"https://github.com/orestispanago/Logger-stack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/orestispanago/Logger-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orestispanago%2FLogger-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orestispanago%2FLogger-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orestispanago%2FLogger-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orestispanago%2FLogger-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orestispanago","download_url":"https://codeload.github.com/orestispanago/Logger-stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orestispanago%2FLogger-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31530641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","grafana","iot","mqtt","mysql","node-red","persistent"],"created_at":"2024-12-03T15:15:00.693Z","updated_at":"2026-04-07T21:32:09.381Z","avatar_url":"https://github.com/orestispanago.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Docker-MySQL-NodeRED-Grafana\n\nDocker stack with persistent data volumes for IoT data logging projects.\n\nThe ```init``` folders contain first run configurations where necessary,\nMySQL users, schema, Grafana datasource etc.\n\n\n#### Use as template\n\nThe ```docker-compose.yml``` file may be used as a template for other projects.\nIn this case make sure to:\n\n* Clean up the ```init``` volumes definitions in ```docker-compose.yml```.\n* Create volumes before first ```docker-compose up``` to avoid permission issues\n\nOnce the containers are successfully built and running:\n\n* Create schema and table in MySQL workbench\n\n* Set MySQL datasource IP in Grafana.\n\n* Secure NodeRED\n\n\n#### Setting NodeRED admin password:\n\nCreate and copy hashed password\n\n```bash\ndocker exec -it nodered npx node-red admin hash-pw\n```\n```bash\ndocker-compose stop node-red\n```\nUncomment the adminAuth section in ```settings.js``` and paste the hashed password.\n\nStart NodeRED\n\n```bash\ndocker-compose start node-red\n\n```\n\n#### MySQL node tips\n\nInstall ```node-red-contrib-stackhero-mysql``` to avoid ```ER_NOT_SUPPORTED_AUTH_MODE``` error.\n\nImport ```.json``` flow containing example ```INSERT``` function.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forestispanago%2Flogger-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forestispanago%2Flogger-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forestispanago%2Flogger-stack/lists"}