forked from keygen-sh/keygen-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
40 lines (38 loc) · 912 Bytes
/
render.yaml
File metadata and controls
40 lines (38 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
services:
- type: web
name: keygen-api
env: docker
repo: https://github.com/snowballons/keygen-api.git
branch: main
docker:
dockerfilePath: ./Dockerfile
preDeployCommand: rails db:migrate
envVars:
- key: DATABASE_URL
fromDatabase:
name: keygen-db
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: keygen-cache
property: connectionString
- key: KEYGEN_MODE
value: singleplayer
- key: KEYGEN_HOST
value: https://keygen-api.onrender.com
- key: PORT
value: 3000
- key: RAILS_ENV
value: production
- type: database
name: keygen-db
databaseType: postgresql
plan: starter
ipAllowList: []
region: oregon
postgresVersion: 15
- type: redis
name: keygen-cache
plan: free
region: oregon