{"id":18714988,"url":"https://github.com/griffio/ktor-server-01","last_synced_at":"2026-02-12T21:31:37.315Z","repository":{"id":150151816,"uuid":"605673435","full_name":"griffio/ktor-server-01","owner":"griffio","description":"example ktor server with Routing","archived":false,"fork":false,"pushed_at":"2024-09-03T15:18:59.000Z","size":155,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-04T03:01:58.729Z","etag":null,"topics":["docker","kotlin","ktor-server","render"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/griffio.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":"2023-02-23T16:53:33.000Z","updated_at":"2024-01-01T18:48:18.000Z","dependencies_parsed_at":"2024-12-28T09:40:31.589Z","dependency_job_id":"b71c1b1d-412b-4a6e-bce4-212c46c8b29f","html_url":"https://github.com/griffio/ktor-server-01","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"0035e9890fe649388c9720d25b29a8153bf8fbaf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/griffio/ktor-server-01","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fktor-server-01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fktor-server-01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fktor-server-01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fktor-server-01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/griffio","download_url":"https://codeload.github.com/griffio/ktor-server-01/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fktor-server-01/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29381757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["docker","kotlin","ktor-server","render"],"created_at":"2024-11-07T13:07:12.605Z","updated_at":"2026-02-12T21:31:37.292Z","avatar_url":"https://github.com/griffio.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ktor Server example deployed on Render Cloud Hosting\n\nhttps://render.com/\n\n### Free Tier usage\n\nProvides just enough RAM and CPU 512MB/0.1 for JVM app\n\n* Link GitHub account to Render \n* Allow access to the GitHub repo\n* Create a new Render Web Service for Docker\n* Set a service name (will be accessible at https://[servicename].onrender.com/)\n* Build \u0026 Deploy settings\n* Set repo branch\n* Set health check to /health\n* Leave Dockerfile and other settings to defaults\n\n### Multistage Dockerfile\n\n[Dockerfile](https://github.com/griffio/ktor-server-01/blob/master/Dockerfile)\n\n* Stage 1 - Run the gradle build to create a fatJar (or use installDist) with all dependencies\n* Stage 2 - Containerize the executable jar\n\nThis is because Render service checkouts the repo and executes a Docker build - yet to support deploy from Container registry\nsee https://feedback.render.com/features/p/deploy-docker-images-from-public-private-registries\n\nDeploy Application log on start-up\n\nThe default JVM ergonomics uses Heap at 25% of RAM and 1 available CPU uses SerialGC\n\n```\n-XX:InitialHeapSize=8388608 -XX:MaxHeapSize=134217728 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseSerialGC\n [info][gc,init] Version: 17.0.2+8-86 (release)\n [info][gc,init] CPUs: 8 total, 1 available\n [info][gc,init] Memory: 512M\n [info][gc,init] Large Page Support: Disabled\n [info][gc,init] NUMA Support: Disabled\n [info][gc,init] Compressed Oops: Enabled (32-bit)\n [info][gc,init] Heap Min Capacity: 8M\n [info][gc,init] Heap Initial Capacity: 8M\n [info][gc,init] Heap Max Capacity: 128M\n [info][gc,init] Pre-touch: Disabled\n [main] INFO  ktor.application - Application started in 8.185 seconds.\n [DefaultDispatcher-worker-2] INFO  ktor.application - Responding at http://0.0.0.0:8080\n [main] INFO  ktor.application - Autoreload is disabled because the development mode is off.\n [main] INFO  ktor.application - Application started in 7.4 seconds.\n [DefaultDispatcher-worker-1] INFO  ktor.application - Responding at http://0.0.0.0:8080\n [eventLoopGroupProxy-4-1] TRACE io.ktor.routing.Routing - Trace for [health]\n```\n\n### Alternatives without Credit Card\n\n* https://www.koyeb.com/docs/faqs/pricing#is-there-a-free-tier\n  * One free web Service in the Frankfurt or Washington, D.C. regions with 512MB of RAM, 0.1 vCPU, and 2GB of SSD.\n* ~~https://mogenius.com~~\n  * Free signups currently suspended\n  * Supports DockerHub and other container registries\n* ~~https://fly.io~~ https://fly.io/blog/free-postgres/#a-note-about-credit-cards\n  * Free limited to 256MB\n  * Supports container registries\n* ~~https://railway.app/~~ https://blog.railway.app/p/updates-on-plans\n\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Fktor-server-01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgriffio%2Fktor-server-01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Fktor-server-01/lists"}