-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Expand file tree
/
Copy pathrender.yaml
More file actions
52 lines (49 loc) · 1.69 KB
/
Copy pathrender.yaml
File metadata and controls
52 lines (49 loc) · 1.69 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
version: '1'
projects:
- name: affine
environments:
- name: production
services:
- type: web
name: affine
runtime: docker
plan: standard
# The Dockerfile adds a start script to ghcr.io/toeverything/affine:stable. It runs migrations and the server
dockerfilePath: ./.render/Dockerfile
dockerContext: ./.render
healthCheckPath: /info
disk:
# Uploaded blobs (~/.affine/storage) and the generated private key
# (~/.affine/config/private.key) must survive restarts.
name: affine-data
mountPath: /root/.affine
sizeGB: 10
envVars:
- key: AFFINE_SERVER_PORT
value: 10000
- key: AFFINE_SERVER_HTTPS
value: true
- key: DATABASE_URL
fromDatabase:
name: affine-postgres
property: connectionString
- key: REDIS_SERVER_HOST
fromService:
name: affine-keyvalue
type: keyvalue
property: host
- key: REDIS_SERVER_PORT
fromService:
name: affine-keyvalue
type: keyvalue
property: port
- type: keyvalue
name: affine-keyvalue
plan: starter
maxmemoryPolicy: noeviction
ipAllowList: [] # internal connections only
databases:
- name: affine-postgres
plan: basic-256mb
postgresMajorVersion: '16'
ipAllowList: [] # internal connections only