{"id":15877666,"url":"https://github.com/rajiska/devops-fizzbuzz","last_synced_at":"2025-10-11T22:05:19.833Z","repository":{"id":115939978,"uuid":"542349904","full_name":"RaJiska/devops-fizzbuzz","owner":"RaJiska","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-28T06:45:36.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T23:29:00.543Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RaJiska.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-09-28T01:00:24.000Z","updated_at":"2022-09-28T08:54:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad662c8f-43e4-4815-b691-1585a76a6122","html_url":"https://github.com/RaJiska/devops-fizzbuzz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RaJiska/devops-fizzbuzz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaJiska%2Fdevops-fizzbuzz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaJiska%2Fdevops-fizzbuzz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaJiska%2Fdevops-fizzbuzz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaJiska%2Fdevops-fizzbuzz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaJiska","download_url":"https://codeload.github.com/RaJiska/devops-fizzbuzz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaJiska%2Fdevops-fizzbuzz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009036,"owners_count":26084547,"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-10-11T02:00:06.511Z","response_time":55,"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":[],"created_at":"2024-10-06T02:02:50.365Z","updated_at":"2025-10-11T22:05:19.817Z","avatar_url":"https://github.com/RaJiska.png","language":"Go","readme":"# DevOps Fizzbuzz\n\n## Pre-requisites\n\n1. You will need the following tools installed:\n   1. Runtime\n      1. [Go](https://go.dev/doc/install)\n   2. [Docker](https://docs.docker.com/get-docker/)\n   3. [Kubectl](https://kubernetes.io/docs/tasks/tools/)\n   4. [Helm](https://helm.sh/docs/intro/install/)\n   5. [Kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)\n\n## Description\n\nCloud native webserver that may be plugged with Redis.\n\n## Building\n\n### Locally\n\n```\nmake\n```\n\nBinary built as `http-server`.\n\n### Docker\n\n```\nmake build-docker\n```\n\nCan be ran via image `local/http-server`, with sample command `docker run  -p 8080:3000 --rm -it local/http-server`, service exposed on port `8080` locally.\n\n### K8S\n\n```\nmake run-k8s-kind\n```\n\nWill provision a `fizzbuzz` kind cluster cluster, install an ingress controller, a redis, and the HTTP server. By default three replicas are created with state handled via Redis.  \nThe service may be accessed through `localhost:9090`.\n\n## Environment Variables\n\n| Name                | Description                                               | Default               |\n|---------------------|-----------------------------------------------------------|-----------------------|\n| SERVER_PORT         | Port the web server shall be exposed with.                | 3000                  |\n| HEALTHCHECK_TIMEOUT | Frequency internal healthcheck shall be ran (in seconds). | 1                     |\n| HEALTHCHECK_ADDRESS | Address the healthcheck shall ping.                       | http://127.0.0.1:3000 |\n| HEALTHCHECK_ENABLE  | Whether or not internal healthcheck is enabled.           | true                  |\n| REDIS_ENABLE        | Whether or not Redis shall be used to handle the state.   | false                 |\n| REDIS_ADDRESS       | Address of the redis server to use, if enabled.           | localhost:6379        |","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajiska%2Fdevops-fizzbuzz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajiska%2Fdevops-fizzbuzz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajiska%2Fdevops-fizzbuzz/lists"}