{"id":16229702,"url":"https://github.com/indaco/modern-historian","last_synced_at":"2026-04-28T16:05:31.174Z","repository":{"id":136250331,"uuid":"386600660","full_name":"indaco/modern-historian","owner":"indaco","description":"Fully automated provisioning for a modern historian stack","archived":false,"fork":false,"pushed_at":"2021-08-22T09:02:49.000Z","size":789,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-14T03:48:16.655Z","etag":null,"topics":["ansible","docker-compose","grafana","grafana-dashboard","historian","influxdb2","opcua-server","portainer-ce","telegraf","terraform"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indaco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-07-16T10:38:38.000Z","updated_at":"2024-02-20T08:04:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"67a48cbf-0957-49fd-820f-2864cfbf7aea","html_url":"https://github.com/indaco/modern-historian","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fmodern-historian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fmodern-historian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fmodern-historian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fmodern-historian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indaco","download_url":"https://codeload.github.com/indaco/modern-historian/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247785920,"owners_count":20995642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ansible","docker-compose","grafana","grafana-dashboard","historian","influxdb2","opcua-server","portainer-ce","telegraf","terraform"],"created_at":"2024-10-10T12:59:00.038Z","updated_at":"2026-04-28T16:05:26.151Z","avatar_url":"https://github.com/indaco.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modern Historian\n\n## Fully automated provisioning for a modern historian stack\n\nA big part of this setup is about the provisioning of the edge stack with all you need to run a modern historian.\n\n6 Docker containers are used:\n\n- OPC-UA Server\n- InfluxDB\n- Telegraf\n- Grafana\n- Portainer\n- Traefik\n\nHere is a diagram to show the architecture:\n\n![Architecture Diagram](./docs/images/architecture.png)\n\n## What you get\n\nSeveral configurations are applied during the provisioning process in order to automate and simplify the setup. Below is a quick summary of what you get out of the box:\n\n- **OPC-UA Server**:\n  - A Pump object added to the OPC-UA server namespace for the scope of the demo scenario. Read more [here](./docs/opc-ua.md) on the setup of the OPC-UA server.\n- **InfluxDB v2**:\n  - tokens for telegraf and Grafana created\n  - bucket created\n  - task to calculate prussures differences\n- **Telegraf**:\n  - configuration to read data from the OPC UA Server\n  - configuration to write data into InfluxDB's bucket\n- **Grafana**:\n  - datasource configuraion\n  - demo dashboard\n- **Trefik**:\n  - Setup Traefik as reverse proxy and load balancer for Portainer and Grafana\n\nInfluxDB2's generated tokens are stored on `output/tokens.txt` file.\n\nBelow is a screenshot for the provisioned dashboard:\n\n![Grafana Dashboard](./docs/images/grafana_dashboard.png)\n\n## Access to the services\n\nIn order to get access to the services please, refer to the below table:\n\n| Service     | URL                                     | Username | Password     |\n| :---------- | :-------------------------------------- | :------- | :----------- |\n| InfluxDB v2 | http://localhost:8086                   | demouser | demopassword |\n| Grafana     | https://localhost:6443/grafana          | demouser | demopassword |\n| Portainer   | https://localhost:6443/portainer/#!home | admin    |              |\n| Traefik     | https://localhost:6443/dashboard/#/     | admin    | demopassword |\n\nTo get access to the OPC UA Server, you can use any OPC UA client, e.g. [Prosys](https://downloads.prosysopc.com/opc-ua-client-downloads.php)\n\nAs url, use the following `opc.tcp://localhost:4334/UA/DemoOPCUAServer`\n\n**NOTE: In case of cloud deployment, ensure to replace `localhost` with the public IP address of your droplet.**\n\n## Provisioning the demo\n\nThe project is available to be provisioned for both Unix-based and Windows users. Follow the relative guides below to get started.\n\n### Linux and OSX users\n\n- [Local provisioning with Vagrant](./docs/provisioning/unix/local_provisioning.md)\n- [Cloud provisioning with Terraform](./docs/provisioning/unix/cloud_provisioning.md)\n\n### Windows users\n\n- [Local provisioning with Vagrant](./docs/provisioning/windows/local_provisioning.md)\n- [Cloud provisioning with Terraform](./docs/provisioning/windows/cloud_provisioning.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findaco%2Fmodern-historian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findaco%2Fmodern-historian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findaco%2Fmodern-historian/lists"}