{"id":43507566,"url":"https://github.com/zextras/carbonio-tasks-db","last_synced_at":"2026-02-03T12:39:26.982Z","repository":{"id":206485291,"uuid":"601550096","full_name":"zextras/carbonio-tasks-db","owner":"zextras","description":"Service used by Carbonio Tasks to communicate with a centralized database ","archived":false,"fork":false,"pushed_at":"2026-01-21T08:46:00.000Z","size":48,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":11,"default_branch":"devel","last_synced_at":"2026-01-21T15:20:51.700Z","etag":null,"topics":["carbonio-component"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zextras.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-14T10:00:09.000Z","updated_at":"2026-01-21T08:46:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"852df666-3722-4fac-a095-fd90042d3ccb","html_url":"https://github.com/zextras/carbonio-tasks-db","commit_stats":null,"previous_names":["zextras/carbonio-tasks-db"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/zextras/carbonio-tasks-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-tasks-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-tasks-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-tasks-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-tasks-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zextras","download_url":"https://codeload.github.com/zextras/carbonio-tasks-db/tar.gz/refs/heads/devel","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-tasks-db/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29046175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["carbonio-component"],"created_at":"2026-02-03T12:39:26.214Z","updated_at":"2026-02-03T12:39:26.973Z","avatar_url":"https://github.com/zextras.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2023 Zextras \u003chttps://www.zextras.com\u003e\n\nSPDX-License-Identifier: AGPL-3.0-only\n--\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eCarbonio Tasks DB\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\nService sidecar used by Carbonio Tasks to communicate with a centralized database\n\n[![Contributors][contributors-badge]][contributors]\n[![Activity][activity-badge]][activity]\n[![License][license-badge]](COPYING)\n[![Project][project-badge]][project]\n[![Twitter][twitter-badge]][twitter]\n\n\u003c/div\u003e\n\n## How to install 🏁\n\n### Preparing the environment\n\n- Install PostgreSQL: `apt install postgresql`\n- Create a `postgres` superuser:\n  ```bash\n  # sudo -u postgres\n  $ psql\n  # CREATE ROLE \"carbonio-adm\" WITH LOGIN SUPERUSER encrypted password 'your-secret-password';\n  # CREATE DATABASE \"carbonio-tasks-db\" owner \"carbonio-adm\";\n  # \\q\n  ```\n\n### Installation\n\nInstall `carbonio-tasks-db` via apt:\n\n```bash\nsudo apt install carbonio-tasks-db\n```\n\nor via yum:\n\n ```bash\nsudo yum install carbonio-tasks-db\n```   \n\n### Configuration\n\nIn order to make it work with external databases the `carbonio-tasks-db.hcl` **MUST** be manually\nupdated by changing the address from `127.0.0.1` to the remote address. To finalize the\nconfiguration:\n\n- Execute `pending-setups` in order to register the service in the `service-discover`\n- Bootstrap the database:\n  ```bash\n  PGPASSWORD=your-secret-password carbonio-tasks-db-bootstrap carbonio-adm 127.0.0.1\n  ```\n\nIf the bootstrap script is executed multiple times it reuses the credentials created the first time\nand stored in `service-discover`.\n\n### Reading config values\n\nAll the necessary configurations are saved automatically in the `service-discover` configuration\nsystem. They can be retrieved with the following commands:\n\n- `consul kv get -token-file=\"/etc/carbonio/tasks/service-discover/token\" \"carbonio-tasks/db-name\"`\n- `consul kv get -token-file=\"/etc/carbonio/tasks/service-discover/token\" \"carbonio-tasks/db-username\"`\n- `consul kv get -token-file=\"/etc/carbonio/tasks/service-discover/token\" \"carbonio-tasks/db-password\"`\n\n## License 📚\n\nService sidecar used by Carbonio Tasks to communicate with a centralized database.\n\nReleased under the AGPL-3.0-only license as specified here: [COPYING](COPYING).\n\nCopyright (C) 2023 Zextras \u003chttps://www.zextras.com\u003e\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\nSee [COPYING](COPYING) file for the project license details\n\n### Copyright notice\n\nAll non-software material (such as, for example, names, images, logos, sounds) is owned by Zextras\ns.r.l. and is licensed under [CC-BY-NC-SA](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n\nWhere not specified, all source files owned by Zextras s.r.l. are licensed under AGPL-3.0-only\n\n[contributors-badge]: https://img.shields.io/github/contributors/zextras/carbonio-tasks-sdk \"Contributors\"\n\n[contributors]: https://github.com/zextras/carbonio-tasks-sdk/graphs/contributors \"Contributors\"\n\n[activity-badge]: https://img.shields.io/github/commit-activity/m/zextras/carbonio-tasks-sdk \"Activity\"\n\n[activity]: https://github.com/zextras/carbonio-tasks-sdk/pulse \"Activity\"\n\n[license-badge]: https://img.shields.io/badge/license-AGPL-blue.svg\n\n[project-badge]: https://img.shields.io/badge/project-carbonio-informational \"Project Carbonio\"\n\n[project]: https://www.zextras.com/carbonio/ \"Project Carbonio\"\n\n[twitter-badge]: https://img.shields.io/twitter/follow/zextras?style=social\u0026logo=twitter \"Follow on Twitter\"\n\n[twitter]: https://twitter.com/intent/follow?screen_name=zextras \"Follow Zextras on Twitter\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzextras%2Fcarbonio-tasks-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzextras%2Fcarbonio-tasks-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzextras%2Fcarbonio-tasks-db/lists"}