{"id":37124601,"url":"https://github.com/coreos/fcos-pinger-backend","last_synced_at":"2026-01-14T14:24:18.070Z","repository":{"id":66191057,"uuid":"217377885","full_name":"coreos/fcos-pinger-backend","owner":"coreos","description":"Backend for Fedora CoreOS Pinger (https://github.com/coreos/fedora-coreos-pinger)","archived":true,"fork":false,"pushed_at":"2021-05-11T15:37:23.000Z","size":22,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-05-09T20:30:07.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coreos.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":"2019-10-24T19:24:10.000Z","updated_at":"2024-06-19T11:07:14.166Z","dependencies_parsed_at":"2023-03-07T10:15:51.957Z","dependency_job_id":null,"html_url":"https://github.com/coreos/fcos-pinger-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coreos/fcos-pinger-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffcos-pinger-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffcos-pinger-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffcos-pinger-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffcos-pinger-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coreos","download_url":"https://codeload.github.com/coreos/fcos-pinger-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffcos-pinger-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28422889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"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":"2026-01-14T14:24:17.336Z","updated_at":"2026-01-14T14:24:18.063Z","avatar_url":"https://github.com/coreos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fcos-pinger-backend\n[![Docker Repository on Quay](https://quay.io/repository/zonggen/fcos-pinger-backend/status \"Docker Repository on Quay\")](https://quay.io/repository/zonggen/fcos-pinger-backend)\n\n## Description\n\nBackend for Fedora CoreOS Pinger (https://github.com/coreos/fedora-coreos-pinger).\n\nCurrently the backend server will only interpret the sent request body as a [`postData`](https://github.com/zonggen/fcos-pinger-backend/blob/67020ce36c8d1d2c38b0a23c1d2bba6d8189539f/main.go#L33) struct and store the `minimal` and `full` data to the corresponding `minimal` and `full` collections under `fcos_pinger` database.\n\n## Pre-requisites:\n - `podman`: https://podman.io/getting-started/installation.html\n - `podman-compose`: https://github.com/containers/podman-compose\n - `kompose`: https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/#install-kompose\n - `oc`: https://www.okd.io/download.html#oc-platforms\n\n## Docker images used:\n - MongoDB official image from Docker Hub ([link_to_image](https://hub.docker.com/_/mongo))\n - Red Hat Universal Base Image 8 (UBI) ([link_to_image](https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/ubi))\n\n## To run locally\n\n```bash\n$ podman-compose up\n```\n\n## To stop running\n\n```bash\n$ podman-compose down\n```\n\n## Deploy on OKD\n\n```bash\n# mongodb will try to run as root and modify `/data/db`\noc adm policy add-scc-to-user anyuid -z default\n# convert to oc config with `kompose`\nkompose --provider openshift --file docker-compose.yml convert\n# create imagestream, deployment, and service\noc create -f mongodb-deploymentconfig.yaml \u0026\u0026 \\\noc create -f mongodb-imagestream.yaml \u0026\u0026 \\\noc create -f mongodb-service.yaml \u0026\u0026 \\\noc create -f backend-deploymentconfig.yaml \u0026\u0026 \\\noc create -f backend-imagestream.yaml \u0026\u0026 \\\noc create -f backend-service.yaml\n```\n\n## Networks\nThe default port for mongod and mongos instances is 27017, and the backend server is listening on port 5000. The networks between docker containers and host are shared, therefore to send POST request to server, all one needed was to send request to `127.0.0.1:5000`.\n\n## Tools used during development\n - MongoDB Compass to visualize the DB ([link_to_official-page](https://docs.mongodb.com/compass/master/install/))\n - Postman for visualizing requests ([link_to_official_page](https://www.getpostman.com/))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreos%2Ffcos-pinger-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoreos%2Ffcos-pinger-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreos%2Ffcos-pinger-backend/lists"}