{"id":18565043,"url":"https://github.com/greenbone/opensight-postgres","last_synced_at":"2025-08-17T01:06:34.992Z","repository":{"id":203095877,"uuid":"708804690","full_name":"greenbone/opensight-postgres","owner":"greenbone","description":"Opensight-Postgres is utilized to provide our Opensight services with the appropriate PostgreSQL container versions.","archived":false,"fork":false,"pushed_at":"2025-08-11T08:20:54.000Z","size":100,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-08-11T10:25:10.642Z","etag":null,"topics":["3rd","base","dockerfile","gen","opensight","tooling"],"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/greenbone.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-23T12:32:39.000Z","updated_at":"2025-08-11T08:20:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"eaa1f737-ce74-41bd-af11-c4b14b8bebb0","html_url":"https://github.com/greenbone/opensight-postgres","commit_stats":null,"previous_names":["greenbone/opensight-postgres"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/greenbone/opensight-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fopensight-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fopensight-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fopensight-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fopensight-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greenbone","download_url":"https://codeload.github.com/greenbone/opensight-postgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fopensight-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270792075,"owners_count":24645973,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["3rd","base","dockerfile","gen","opensight","tooling"],"created_at":"2024-11-06T22:17:27.851Z","updated_at":"2025-08-17T01:06:34.925Z","avatar_url":"https://github.com/greenbone.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_new-logo_horizontal_rgb_small.png)\n\n# OpenSight Postgres\n\n[![GitHub releases](https://img.shields.io/github/release/greenbone/opensight-postgres.svg)](https://github.com/greenbone/opensight-postgres/releases)\n\nOpensight-Postgres is utilized to provide our Opensight services with the appropriate PostgreSQL container versions.\n\nIt is equivalent to the [postgres](https://hub.docker.com/_/postgres) Docker\nimage. Additionally one previous major version of postgres is added to the\nimage, so that it can be used to upgrade mounted database files to the\ncurrent version.\n\n## Upgrade process\nThe opensight-postgres image can be used to upgrade older database versions\nto the current version used by this image.\n\nIf the database is already upgraded, this will be a no-op and the upgrade\nprocess will automatically terminate with exit code 0.\n\nThis does not happen automatically however, since it represents a backwards\nincompatible change, and has potential to fail. It is therefore recommended\nto create backups before attempting a migration.\n\nUsage:\n\n```\ndocker run \\\n    -it --rm \\\n    --user 999:999 \\\n    -v /path/to/database:/var/lib/postgres/data/ \\\n    opensight-postgres upgradeversion inplace\n```\n\nThe inplace argument is required to perform the upgrade in the same mounted\ndirectory. This has the implication that the database will be corrupted if\nthe upgrade fails. Therefore it is recommended to create a backup before\nattempting the upgrade.\n\n## Maintainer\n\nThis project is maintained by [Greenbone AG](https://www.greenbone.net/).\n\n## Contributing\n\nYour contributions are highly appreciated. Please\n[create a pull request](https://github.com/greenbone/autohooks-plugin-mypy/pulls)\non GitHub. Bigger changes need to be discussed with the development team via the\n[issues section at GitHub](https://github.com/greenbone/autohooks-plugin-mypy/issues)\nfirst.\n\n## License\n\nCopyright (C) 2023-2024 [Greenbone AG](https://www.greenbone.net/)\n\nLicensed under the [GNU General Public License v3.0 or later](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Fopensight-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreenbone%2Fopensight-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Fopensight-postgres/lists"}