diff --git a/.github/README.md b/.github/README.md index bd3afb23..965483c6 100644 --- a/.github/README.md +++ b/.github/README.md @@ -44,7 +44,8 @@ - [Option#1: Netlify](#deploying---option-1-netlify) - [Option#2: Vercel](#deploying---option-2-vercel) - [Option#3: Docker](#deploying---option-3-docker) - - [Option#4: Source](#deploying---option-4-from-source) + - [Option#4: Render](#deploying---option-4-render) + - [Option#5: Source](#deploying---option-5-from-source) - [Configuration Options](#configuring) - [Developer Setup](#developing) - **[Community](#community)** @@ -892,7 +893,15 @@ You can get the Docker image from: -### Deploying - Option #4: From Source +### Deploying - Option #4: Render + +Click the button below, to deploy to Render 👇 + +[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/Lissy93/web-check) + +Uses the official [`lissy93/web-check`](https://hub.docker.com/r/lissy93/web-check) image on a Standard web service. Optional enrichment API keys can be added after deploy. + +### Deploying - Option #5: From Source Install the prerequisites listed in the [Developing](#developing) section, then run: diff --git a/render.yaml b/render.yaml new file mode 100644 index 00000000..e1e1fe70 --- /dev/null +++ b/render.yaml @@ -0,0 +1,36 @@ +# yaml-language-server: $schema=https://render.com/schema/render.yaml.json +# +# Web Check on Render — Blueprint deploy +# Upstream: https://github.com/Lissy93/web-check +# Image: https://hub.docker.com/r/lissy93/web-check +# +# Pattern: image-wrapper (official lissy93/web-check image with Chromium). +# Optional OSINT API keys: add in Dashboard after deploy (see .env.sample). Do not +# declare them as sync:false here or Apply will prompt for every key. + +previews: + generation: off + +services: + - type: web + name: web-check + runtime: image + plan: standard + region: oregon + image: + url: docker.io/lissy93/web-check:latest + healthCheckPath: / + autoDeployTrigger: off + envVars: + - key: PORT + value: '3000' + - key: TRUST_PROXY + value: '1' + - key: CHROME_PATH + value: '/usr/bin/chromium' + - key: PUPPETEER_EXECUTABLE_PATH + value: '/usr/bin/chromium' + - key: PUPPETEER_SKIP_DOWNLOAD + value: 'true' + - key: API_ENABLE_RATE_LIMIT + value: 'true'