-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
63 lines (61 loc) · 2.21 KB
/
render.yaml
File metadata and controls
63 lines (61 loc) · 2.21 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
53
54
55
56
57
58
59
60
61
62
63
services:
- type: web
name: qaas-web
runtime: docker
repo: https://github.com/pythoninthegrass/qaas.git # optional
branch: main
pullRequestPreviewsEnabled: true # optional
autoDeploy: true # optional
domains:
- qaas.sh
plan: starter # free/starter/standard
region: ohio # oregon, ohio, frankfurt, or singapore
disk: # starter/standard only
name: web-data
mountPath: /app
sizeGB: 5
registryCredential: # https://dashboard.render.com/u/settings#registry-credentials
fromRegistryCreds:
name: GITHUB_TOKEN
# rootDir: . # default: top-level directory
dockerContext: .
dockerfilePath: Dockerfile
# dockerCommand: sleep infinity
# healthCheckPath: /healthz
envVars:
- fromGroup: qaas-settings
- key: PORT
value: 8000
- key: POSTGRES_URI
fromDatabase:
name: qaas-postgres
property: connectionString
databases:
- name: qaas-postgres
databaseName: quotes # optional (Render may add a suffix)
user: sa # optional
region: ohio # oregon, ohio, frankfurt, or singapore
postgresMajorVersion: 15 # 12/13/14/15
plan: free # free/starter/standard
ipAllowList: # default: allow all (empyty list `[]` is internal only)
- source: 172.127.40.244/32
description: home
envVarGroups:
- name: qaas-settings
envVars:
- key: POSTGRES_DB
sync: false
- key: POSTGRES_HOST
sync: false
- key: POSTGRES_PASSWORD
sync: false
- key: POSTGRES_PORT
sync: false
- key: POSTGRES_USER
sync: false
- key: REGISTRY_URL
value: ghcr.io
- key: SERVICE
sync: false
- key: USER_NAME
sync: false