forked from render-examples/postgres-s3-backups
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
66 lines (64 loc) · 1.83 KB
/
render.yaml
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
64
65
66
services:
- name: backup-postgres
type: cron
schedule: "0 6 * * *" # 6am UTC, 11pm PST
region: oregon
env: docker
plan: standard
dockerfilePath: ./Dockerfile
autoDeploy: false
envVars:
- key: POSTGRES_VERSION
value: 14
- key: DATABASE_URL
fromDatabase:
name: watershed_production_14
property: connectionString
- key: GCS_BUCKET_NAME
value: watershed-postgres-backups/render/regional_us
- key: GCS_AUTH_KEY_FILE
value: /etc/secrets/watershed-security-and-privacy-c8aceb9e2392.json
- key: SENTRY_DSN
sync: false
- name: backup-global-postgres
type: cron
schedule: "0 4 * * *" # 4am UTC, 9pm PST
region: oregon
env: docker
plan: standard
dockerfilePath: ./Dockerfile
autoDeploy: false
envVars:
- key: POSTGRES_VERSION
value: 14
- key: DATABASE_URL
fromDatabase:
name: watershed_global_14
property: connectionString
- key: GCS_BUCKET_NAME
value: watershed-postgres-backups/render/global
- key: GCS_AUTH_KEY_FILE
value: /etc/secrets/watershed-security-and-privacy-c8aceb9e2392.json
- key: SENTRY_DSN
sync: false
- name: backup-eu-postgres
type: cron
schedule: "0 6 * * *" # 6am UTC, 11pm PST
region: frankfurt
env: docker
plan: standard
dockerfilePath: ./Dockerfile
autoDeploy: false
envVars:
- key: POSTGRES_VERSION
value: 14
- key: DATABASE_URL
fromDatabase:
name: watershed_eu
property: connectionString
- key: GCS_BUCKET_NAME
value: watershed-postgres-backups-eu/render/regional_eu
- key: GCS_AUTH_KEY_FILE
value: /etc/secrets/watershed-security-and-privacy-32d577009d19.json
- key: SENTRY_DSN
sync: false