From ff01f8b80d9c11d65d3d779baeac344bd92f2b7c Mon Sep 17 00:00:00 2001 From: Olyno Date: Tue, 19 Jul 2022 07:10:24 +0200 Subject: [PATCH] chore: add Render deploy (#1593) * chore: add Render deploy * fix: fix database name * chore: update README Co-authored-by: Gao Sun --- README.md | 19 +++++++------------ render.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 12 deletions(-) create mode 100644 render.yaml diff --git a/README.md b/README.md index 8efa0c677..ff684c13c 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,13 @@

- - release - - - gitpod - - - core coverage - - - checks - + + [![release](https://img.shields.io/github/v/release/logto-io/logto?color=7958FF)](https://github.com/logto-io/logto/releases) + [![core coverage](https://img.shields.io/codecov/c/github/logto-io/logto?label=core%20coverage)](https://app.codecov.io/gh/logto-io/logto) + [![checks](https://img.shields.io/github/checks-status/logto-io/logto/master)](https://github.com/logto-io/logto/actions?query=branch%3Amaster) + [![gitpod](https://img.shields.io/badge/gitpod-available-f09439)](https://gitpod.io/#https://github.com/logto-io/logto) + [![render](https://img.shields.io/badge/render-deploy-5364e9)](https://render.com/deploy?repo=https://github.com/logto-io/logto) +

# Logto diff --git a/render.yaml b/render.yaml new file mode 100644 index 000000000..8ed0970e2 --- /dev/null +++ b/render.yaml @@ -0,0 +1,25 @@ +services: + - type: web + name: logto + env: docker + repo: https://github.com/logto-io/logto.git + region: oregon + branch: master + envVars: + - key: ENDPOINT + value: true + - key: TRUST_PROXY_HEADER + value: true + - key: NO_INQUIRY + value: 0 + - key: ALL_YES + value: 1 + - key: DB_URL_DEFAULT + fromDatabase: + name: logto-database + property: connectionString + +databases: + - name: logto-database + databaseName: logto + ipAllowList: [] # only allow internal connections