-
Notifications
You must be signed in to change notification settings - Fork 4
/
backup_task_definition.json
executable file
·57 lines (57 loc) · 1.19 KB
/
backup_task_definition.json
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
[
{
"name": "authory-db-backup",
"image": "ejoebstl/rds-postgres-backup-s3-secure",
"networkMode": "awsvpc",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "${log_group}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "db-backup-${environment}"
}
},
"environment": [
{
"name": "ENVIRONMENT",
"value": "${environment}"
},
{
"name": "REGION",
"value": "${region}"
},
{
"name": "POSTGRES_DATABASE",
"value": "${postgres_database}"
},
{
"name": "POSTGRES_HOST",
"value": "${postgres_host}"
},
{
"name": "POSTGRES_USER",
"value": "${postgres_user}"
},
{
"name": "POSTGRES_PORT",
"value": "${postgres_port}"
},
{
"name": "S3_BUCKET",
"value": "${s3_bucket}"
},
{
"name": "S3_PREFIX",
"value": "${s3_prefix}"
},
{
"name": "OPENSSL_PUBLIC_KEY",
"value": "${openssl_public_key}"
},
{
"name": "RATE_LIMIT",
"value:": "10M"
}
]
}
]