-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.json
67 lines (67 loc) · 1.85 KB
/
app.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
58
59
60
61
62
63
64
65
66
67
{
"name": "Book a secure move API",
"description": "",
"repository": "https://github.com/ministryofjustice/hmpps-book-secure-move-api",
"env": {
"MASTER_DATABASE_URL": {
"description": "DATABASE_URL value from main API application deployed on Heroku",
"required": true
},
"ENCRYPTOR_SALT": {
"description": "Secret salt value for encryption/decryption",
"required": true
},
"S3_REPORTING_BUCKET_NAME": {
"description": "Name of the storage bucket to use on AWS S3",
"required": true
},
"ALERTS_API_BASE_URL": {
"description": "Base URL for Alerts API",
"required": true
},
"NOMIS_SITE_FOR_API": {
"description": "Base URL for NOMIS API",
"required": true
},
"NOMIS_CLIENT_ID": {
"description": "User ID to authenticate with for NOMIS API",
"required": true
},
"NOMIS_CLIENT_SECRET": {
"description": "User secret to authenticate with for NOMIS API",
"required": true
},
"NOMIS_AUTH_SCHEME": {
"description": "Authentication scheme to use with NOMIS API",
"required": true
},
"NOMIS_PRISON_API_PATH_PREFIX": {
"description": "Namespace for general NOMIS API endpoints",
"required": true
},
"NOMIS_SITE_FOR_AUTH": {
"description": "Authentication NOMIS API endpoint",
"required": true
},
"SERVE_API_DOCS": {
"description": "Enable endpoints for static documentation",
"value": true
},
"HEROKU_DISABLE_AUTH": {
"description": "Disable authentication on Heroku review apps if true",
"required": true
}
},
"scripts": {
"postdeploy": "pg_dump $MASTER_DATABASE_URL | psql $DATABASE_URL && bundle exec rails db:migrate"
},
"addons": [
"heroku-postgresql",
"heroku-redis"
],
"buildpacks": [
{
"url": "heroku/ruby"
}
]
}