{"id":20761696,"url":"https://github.com/s0rg/microapp","last_synced_at":"2025-04-30T06:26:20.337Z","repository":{"id":146307023,"uuid":"243600655","full_name":"s0rg/microapp","owner":"s0rg","description":"minimal dockerized application","archived":false,"fork":false,"pushed_at":"2022-08-16T11:13:00.000Z","size":6,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T13:34:07.044Z","etag":null,"topics":["docker","example","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/s0rg.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":"2020-02-27T19:35:40.000Z","updated_at":"2025-03-12T05:49:19.000Z","dependencies_parsed_at":"2023-06-18T21:27:44.291Z","dependency_job_id":null,"html_url":"https://github.com/s0rg/microapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fmicroapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fmicroapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fmicroapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fmicroapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s0rg","download_url":"https://codeload.github.com/s0rg/microapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251653052,"owners_count":21622065,"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","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":["docker","example","go","golang"],"created_at":"2024-11-17T10:25:20.739Z","updated_at":"2025-04-30T06:26:20.303Z","avatar_url":"https://github.com/s0rg.png","language":"Makefile","readme":"# microapp\nminimal dockerized application example with 2-staged dockerfiles (scratch and distroless versions)\n\n# workflow\n\n* build stand-alone binary: `make build`\n* build docker with `scratch`-based image: `make docker-scratch`\n* build docker with `distroless`-based image: `make docker-distroless`\n\n# environment config\n\n`ADDR` - address for the server to listen on (default is 0.0.0.0:8080)\n\n# usage\n\n`docker run s0rg/microapp-scratch` or `docker run s0rg/microapp-distroless`\n\napplication serves two endpoints:\n\n* `/` - returns string with application host and user names\n* `/health` - returns HTTP 204 if app serves well\n\nit can be used in docker-compose environments as load-balancing\ntesting utility.\n\n# license\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0rg%2Fmicroapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs0rg%2Fmicroapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0rg%2Fmicroapp/lists"}