Skip to content

Commit ff01f8b

Browse files
Olynogao-sun
andauthoredJul 19, 2022
chore: add Render deploy (#1593)
* chore: add Render deploy * fix: fix database name * chore: update README Co-authored-by: Gao Sun <gao@silverhand.io>
1 parent bb1c74e commit ff01f8b

File tree

2 files changed

+32
-12
lines changed

2 files changed

+32
-12
lines changed
 

‎README.md

+7-12
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,13 @@
99
</p>
1010

1111
<p align="center">
12-
<a href="https://github.com/logto-io/logto/releases">
13-
<img src="https://img.shields.io/github/v/release/logto-io/logto?color=7958FF" alt="release" />
14-
</a>
15-
<a href="https://gitpod.io/#https://github.com/logto-io/logto">
16-
<img src="https://img.shields.io/badge/gitpod-available-blue" alt="gitpod">
17-
</a>
18-
<a href="https://app.codecov.io/gh/logto-io/logto">
19-
<img src="https://img.shields.io/codecov/c/github/logto-io/logto?label=core%20coverage" alt="core coverage" />
20-
</a>
21-
<a href="https://github.com/logto-io/logto/actions?query=branch%3Amaster">
22-
<img src="https://img.shields.io/github/checks-status/logto-io/logto/master" alt="checks">
23-
</a>
12+
13+
[![release](https://img.shields.io/github/v/release/logto-io/logto?color=7958FF)](https://github.com/logto-io/logto/releases)
14+
[![core coverage](https://img.shields.io/codecov/c/github/logto-io/logto?label=core%20coverage)](https://app.codecov.io/gh/logto-io/logto)
15+
[![checks](https://img.shields.io/github/checks-status/logto-io/logto/master)](https://github.com/logto-io/logto/actions?query=branch%3Amaster)
16+
[![gitpod](https://img.shields.io/badge/gitpod-available-f09439)](https://gitpod.io/#https://github.com/logto-io/logto)
17+
[![render](https://img.shields.io/badge/render-deploy-5364e9)](https://render.com/deploy?repo=https://github.com/logto-io/logto)
18+
2419
</p>
2520

2621
# Logto

‎render.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
services:
2+
- type: web
3+
name: logto
4+
env: docker
5+
repo: https://github.com/logto-io/logto.git
6+
region: oregon
7+
branch: master
8+
envVars:
9+
- key: ENDPOINT
10+
value: true
11+
- key: TRUST_PROXY_HEADER
12+
value: true
13+
- key: NO_INQUIRY
14+
value: 0
15+
- key: ALL_YES
16+
value: 1
17+
- key: DB_URL_DEFAULT
18+
fromDatabase:
19+
name: logto-database
20+
property: connectionString
21+
22+
databases:
23+
- name: logto-database
24+
databaseName: logto
25+
ipAllowList: [] # only allow internal connections

0 commit comments

Comments
 (0)
Please sign in to comment.