{"id":43507569,"url":"https://github.com/zextras/carbonio-ws-collaboration-db","last_synced_at":"2026-02-03T12:39:27.582Z","repository":{"id":250146193,"uuid":"581112483","full_name":"zextras/carbonio-ws-collaboration-db","owner":"zextras","description":"This repository includes the means to build the carbonio-chats-db package, which is simply a consul wrapper for whichever db will be underneath.","archived":false,"fork":false,"pushed_at":"2026-01-19T12:09:23.000Z","size":84,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":9,"default_branch":"devel","last_synced_at":"2026-01-19T18:59:25.489Z","etag":null,"topics":["carbonio-component"],"latest_commit_sha":null,"homepage":null,"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":null,"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":"2022-12-22T09:59:52.000Z","updated_at":"2026-01-15T16:32:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9b0d39b-c81c-4d28-a2c3-f1de3f87a052","html_url":"https://github.com/zextras/carbonio-ws-collaboration-db","commit_stats":null,"previous_names":["zextras/carbonio-ws-collaboration-db"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/zextras/carbonio-ws-collaboration-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-ws-collaboration-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-ws-collaboration-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-ws-collaboration-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-ws-collaboration-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zextras","download_url":"https://codeload.github.com/zextras/carbonio-ws-collaboration-db/tar.gz/refs/heads/devel","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zextras%2Fcarbonio-ws-collaboration-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.815Z","updated_at":"2026-02-03T12:39:27.566Z","avatar_url":"https://github.com/zextras.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eCarbonio Workstream Collaboration DB 🚀\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\nService sidecar used by Zextras Carbonio Workstream Collaboration to\ncommunicate 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***\n\n## How to Build 🔧\n\nTo build artifacts locally, run the `build-artifacts.sh` script. You'll need\ndocker installed locally.\n\n## How to install 🏁\n\n### Preparing the environment\n\n- Install PostgreSQL: `apt install postgresql`\n- Create a `postgres` superuser:\n\n  ```bash\n  # sudo -u postgres psql\n  # CREATE ROLE \"carbonio_adm\" WITH LOGIN SUPERUSER encrypted password\n  'your-secret-password';\n  # \\q\n  ```\n\n### Installation\n\nInstall `carbonio-ws-collaboration-db` via apt:\n\n```bash\nsudo apt install carbonio-ws-collaboration-db\n```\n\nor via yum:\n\n ```bash\nsudo yum install carbonio-ws-collaboration-db\n```\n\n### Configuration\n\nIn order to make it work with external databases the\n`carbonio-ws-collaboration-db.hcl`\n**MUST** be manually\nupdated by changing the address from `127.0.0.1` to the remote address. To\nfinalize the\nconfiguration:\n\n- Execute `pending-setups` in order to register the service in\n  the `service-discover`\n- Bootstrap the Workstream Collaboration database:\n\n  ```bash\n  PGPASSWORD=your-secret-password carbonio-ws-collaboration-db-bootstrap\n  carbonio_adm 127.0.0.1\n  ```\n\nIf the bootstrap script is executed multiple times it reuses the credentials\ncreated the first time and stored in `service-discover`.\n\n### Reading config values\n\nAll the necessary configurations are saved automatically in\nthe `service-discover` configuration\nsystem. They can be retrieved with the following commands:\n\n- `consul kv get -token-file=\"/etc/carbonio/ws-collaboration/service-discover\n  /token\" \"carbonio-ws-collaboration-db/db-name\"`\n- `consul kv get -token-file=\"/etc/carbonio/ws-collaboration/service-discover\n  /token\" \"carbonio-ws-collaboration-db/db-username\"`\n- `consul kv get -token-file=\"/etc/carbonio/ws-collaboration/service-discover\n  /token\" \"carbonio-ws-collaboration-db/db-password\"`\n\n***\n\n## License 📚\n\nCopyright (C) 2023 Zextras \u003chttps://www.zextras.com\u003e\n\nThis program is free software: you can redistribute it and/or modify it\nunder the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, version 3 only of the License.\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License\nfor more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program. If not, see [Licenses - GNU Project - Free\nSoftware Foundation](https://www.gnu.org/licenses/licenses.html\n\"https://www.gnu.org/licenses/licenses.html\")\n\nSee [COPYING](COPYING.md) file for the project license details\n\n## Copyright and Licensing notices\n\nAll non-software material (such as, for example, names, images, logos,\nsounds) is owned by Zextras s.r.l. and is licensed under CC-BY-NC-SA\n(\u003chttps://creativecommons.org/licenses/by-nc-sa/4.0/\u003e).\nWhere not specified, all source files owned by Zextras s.r.l. are licensed\nunder AGPL-3.0-only.\n\n[contributors-badge]: https://img.shields.io/github/contributors/zextras/carbonio-user-management-sdk \"Contributors\"\n\n[contributors]: https://github.com/zextras/carbonio-user-management-sdk/graphs/contributors \"Contributors\"\n\n[activity-badge]: https://img.shields.io/github/commit-activity/m/zextras/carbonio-user-management-sdk \"Activity\"\n\n[activity]: https://github.com/zextras/carbonio-user-management-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-ws-collaboration-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzextras%2Fcarbonio-ws-collaboration-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzextras%2Fcarbonio-ws-collaboration-db/lists"}