Skip to content

Commit

Permalink
Add render.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mat committed Oct 12, 2024
1 parent eaf697c commit 4a14688
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions Readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Feel free to file other bugs - and offer your help - at <https://github.com/mat/

Simple options to host this service are, for example:

- Render: <https://render.com/deploy>
- Heroku: <https://heroku.com/deploy>
- Google Cloud Run: <https://deploy.cloud.run>

Expand Down
17 changes: 17 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
services:
- type: web
name: besticon
runtime: go
buildCommand: go build -tags netgo -ldflags '-s -w' -o bin/iconserver github.com/mat/besticon/v3/besticon/iconserver
startCommand: ./bin/iconserver
plan: free
envVars:
- key: POPULAR_SITES
value: "github.com,render.com,heroku.com"
- key: HOST_ONLY_DOMAINS
value: "*"
- key: CACHE_SIZE_MB
value: "32"
- key: SERVER_MODE
value: "redirect"
autoDeploy: true

0 comments on commit 4a14688

Please sign in to comment.