-
Notifications
You must be signed in to change notification settings - Fork 57
/
render.yaml
32 lines (31 loc) · 929 Bytes
/
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
services:
- name: backup-db
type: cron
schedule: "0 3 * * *"
region: oregon
env: docker
plan: standard
dockerfilePath: ./Dockerfile
autoDeploy: false
envVars:
- key: DATABASE_URL
fromDatabase:
name: replace-with-your-postgres-instance-name
property: connectionString
# pick the region closest to your database
# For example, us-west-2 for the Oregon region
- key: AWS_REGION
sync: false
# A globally unique name for your bucket
# For example, <your-username>-<database name>-render-postgres-backups
- key: S3_BUCKET_NAME
sync: false
# Looks like "AKIAXXXXXXXXXXXXXXXX"
- key: AWS_ACCESS_KEY_ID
sync: false
- key: AWS_SECRET_ACCESS_KEY
sync: false
# Postgres version of your Postgres instance
# For example, 14
- key: POSTGRES_VERSION
sync: false