{"id":20858840,"url":"https://github.com/controlplaneio/grafeas-docker","last_synced_at":"2026-04-22T15:38:15.597Z","repository":{"id":99275900,"uuid":"131999961","full_name":"controlplaneio/grafeas-docker","owner":"controlplaneio","description":"Dockerfiles and compose file for containerised Grafeas","archived":false,"fork":false,"pushed_at":"2018-08-19T16:08:30.000Z","size":9137,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-26T05:06:26.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/controlplaneio.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":"2018-05-03T13:34:10.000Z","updated_at":"2021-10-11T13:51:32.000Z","dependencies_parsed_at":"2023-03-16T03:02:36.431Z","dependency_job_id":null,"html_url":"https://github.com/controlplaneio/grafeas-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/controlplaneio/grafeas-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controlplaneio%2Fgrafeas-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controlplaneio%2Fgrafeas-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controlplaneio%2Fgrafeas-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controlplaneio%2Fgrafeas-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/controlplaneio","download_url":"https://codeload.github.com/controlplaneio/grafeas-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controlplaneio%2Fgrafeas-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32143664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"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":[],"created_at":"2024-11-18T04:47:43.179Z","updated_at":"2026-04-22T15:38:15.579Z","avatar_url":"https://github.com/controlplaneio.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grafeas-docker\n\nThis is a Docker Compose project to provide a self contained instance of Google's [Grafeas](https://grafeas.io/) server using a Postgres SQL as the persistence layer.\n\n## Getting Started\n\nThe quickest way to get started, if you just want a Grafeas server to\nexperiment with, is the Docker Compose method, below.\n\nThere is also a Makefile, which is working towards something that can be used\nin production, but it isn't working yet.\n\n### Prerequisites\n\nYou will require a current version of Docker and Docker Compose, and a means to\ntest the Grafeas server such as their\n[Python](https://github.com/grafeas/client-python) or\n[Go](https://github.com/grafeas/client-go) client libraries. Using cURL may be\nsufficient for your needs, too..\n\n### Installing\n\n#### Using the Docker Compose Method\n\nThe Docker Compose file requires an environment file to pass in the passwords\nfor Postgres and Grafeas. They will get configured on first execution of the\napplication, and then used thereafter.\n\nCreate the `.env` file and generate passwords like so:\n\n```\ntee .env \u003e /dev/null \u003c\u003cEOF\nPOSTGRES_PASSWORD=$(\u003c /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-16};echo;)\nGRAFEAS_PASSWORD=$(\u003c /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-16};echo;)\nEOF\n```\n\nNow build the images and run the containers:\n\n```\n$ docker-compose build\n$ docker-compose up\n```\n\nThe Grafeas server will now be exposed on ['localhost:8080'](localhost:8080).\n\n#### Using the Makefile - \\*\\*WIP, broken\\*\\*\n\n_WIP: If you put passwords into the \\*PASSWORD\\* vars in the Makefile, run `make\ngenerate-db-init-script` and then `make run` it might work!_\n\nClone the repository and from within the root directory execute the following\nsequence of commands:\n\n* To build the Grafeas image and to generate the Postgres initialisation script run:\n\u003e make build\n\n* If you have not set up the Grafeas network run:\n\u003e make run-prod-network\n\n* To run the Grafeas server and the Postgres database run: \n\u003e make run\n\nThere is also a utility script called 'run_local_postgres.sh' that will do the following:\n\n1. Run the Postgres image locally (as 'postgres_local') and expose port 5432 on the Grafeas network.\n2. Run the very useful [PGAdmin](https://www.pgadmin.org/) tool on port 8888 to allow debugging of Grafeas database transactions. \n\n## Built With\n\nThis software was built and tested on MacOS High Sierra using:\n\n* Docker for Mac 18.03 CE\n* Docker Compose 1.21\n\nSubsequent modifications were built and tested on **Arch Linux** using:\n\n* Docker 18.05.0-ce\n* Docker Compose 1.22.0\n\n...and used in workshop on CentOS 7 using:\n\n* Docker 17.06.02\n* Docker Compose 1.11.2\n\n## Dependencies\n\n* The official [Grafeas](https://github.com/grafeas/grafeas) project\n\n## Contributing\n\nPull requests and suggestions are welcome; please submit via GitHub.\n\n## Versioning\n\nNo release version exists yet, use the 'master' branch.\n\n## Authors\n\nColin Domoney [@colindomoney](https://twitter.com/colindomoney?lang=en)\nLuke Bond [@lukebond](https://twitter.com/lukebond?lang=en)\n\n## License\n\nThis software is released under the\n[MIT licence](https://github.com/controlplaneio/grafeas-docker/blob/master/LICENSE)\n\n## Acknowledgments\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontrolplaneio%2Fgrafeas-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontrolplaneio%2Fgrafeas-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontrolplaneio%2Fgrafeas-docker/lists"}