0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: add Render deploy (#1593)

* chore: add Render deploy

* fix: fix database name

* chore: update README

Co-authored-by: Gao Sun <gao@silverhand.io>
This commit is contained in:
Olyno 2022-07-19 07:10:24 +02:00 committed by GitHub
parent bb1c74e268
commit ff01f8b80d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 12 deletions

View file

@ -9,18 +9,13 @@
</p>
<p align="center">
<a href="https://github.com/logto-io/logto/releases">
<img src="https://img.shields.io/github/v/release/logto-io/logto?color=7958FF" alt="release" />
</a>
<a href="https://gitpod.io/#https://github.com/logto-io/logto">
<img src="https://img.shields.io/badge/gitpod-available-blue" alt="gitpod">
</a>
<a href="https://app.codecov.io/gh/logto-io/logto">
<img src="https://img.shields.io/codecov/c/github/logto-io/logto?label=core%20coverage" alt="core coverage" />
</a>
<a href="https://github.com/logto-io/logto/actions?query=branch%3Amaster">
<img src="https://img.shields.io/github/checks-status/logto-io/logto/master" alt="checks">
</a>
[![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)
</p>
# Logto

25
render.yaml Normal file
View file

@ -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