-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscalingo.json
31 lines (31 loc) · 904 Bytes
/
scalingo.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
{
"name": "node-redis-api",
"description": "A Redis REST API with NodeJS using Expressjs and Redis",
"repository": "https://github.com/velizarn/heroku-redis-api.git",
"logo": "https://raw.githubusercontent.com/velizarn/heroku-redis-api/main/public/redis.png",
"formation": {
"web": {
"amount": 1,
"size": "S",
"command": "node --optimize_for_size --max_old_space_size=460 --gc_interval=100 src/start.js"
}
},
"buildpacks": [
{ "url": "heroku/nodejs" },
{ "url": "https://github.com/velizarn/heroku-buildpack-apt" }
],
"stack": "scalingo-22",
"scripts": {
"postdeploy": "echo hello"
},
"env": {
"REDIS_URL": {
"description": "The URL of the Redis server",
"value": "[required]"
},
"WHITELIST_IP": {
"description": "Allowed IP address, optional (https://httpbin.org/ip)",
"value": "[recommended]"
}
}
}