-
Notifications
You must be signed in to change notification settings - Fork 7
/
manifest.yml
71 lines (71 loc) · 2.42 KB
/
manifest.yml
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
68
69
70
71
---
applications:
- name: tta-smarthub-((env))
strategy: rolling
stack: cflinuxfs4
buildpacks:
- https://github.com/cloudfoundry/nodejs-buildpack
env:
AUTH_BASE: ((AUTH_BASE))
AUTH_CLIENT_ID: ((AUTH_CLIENT_ID))
AUTH_CLIENT_SECRET: ((AUTH_CLIENT_SECRET))
LOG_JSON_FORMAT: "true"
LOG_LEVEL: ((LOG_LEVEL))
NEW_RELIC_APP_NAME: tta-smarthub-((env))
NEW_RELIC_LICENSE_KEY: ((NEW_RELIC_LICENSE_KEY))
NODE_ENV: production
# Soon to be removed in favor of TTA_SMART_HUB_URI
REDIRECT_URI_HOST: ((REDIRECT_URI_HOST))
SESSION_SECRET: ((SESSION_SECRET))
JWT_SECRET: ((JWT_SECRET))
TTA_SMART_HUB_URI: ((TTA_SMART_HUB_URI))
HSES_DATA_FILE_URL: ((HSES_DATA_FILE_URL))
HSES_DATA_USERNAME: ((HSES_DATA_USERNAME))
HSES_DATA_PASSWORD: ((HSES_DATA_PASSWORD))
CLAMAV_ENDPOINT: ((CLAMAV_ENDPOINT))
SMTP_HOST: ((SMTP_HOST))
SMTP_PORT: ((SMTP_PORT))
SMTP_HOST_TEST: ((SMTP_HOST_TEST))
SMTP_PORT_TEST: ((SMTP_PORT_TEST))
SMTP_USER: ((SMTP_USER))
SMTP_PASSWORD: ((SMTP_PASSWORD))
SEND_NOTIFICATIONS: ((SEND_NOTIFICATIONS))
SMTP_SECURE: ((SMTP_SECURE))
SMTP_IGNORE_TLS: ((SMTP_IGNORE_TLS))
FROM_EMAIL_ADDRESS: ((FROM_EMAIL_ADDRESS))
NODE_MODULES_CACHE: false
SUPPRESS_ERROR_LOGGING: ((SUPPRESS_ERROR_LOGGING))
SIMILARITY_ENDPOINT: ((SIMILARITY_ENDPOINT))
SMARTSHEET_ENDPOINT: ((SMARTSHEET_ENDPOINT))
SMARTSHEET_ACCESS_TOKEN: ((SMARTSHEET_ACCESS_TOKEN))
services:
- ttahub-((env))
- ttahub-redis-((env))
- ttahub-document-upload-((env))
processes:
- type: web
instances: ((web_instances))
command: yarn start:web
memory: ((web_memory))
- type: worker
instances: ((worker_instances))
command: yarn start:worker
memory: ((worker_memory))
- name: tta-similarity-api-((env))
strategy: rolling
stack: cflinuxfs4
health-check-type: process
buildpacks:
- python_buildpack
path: similarity_api/src
services:
- ttahub-((env))
env:
NEW_RELIC_APP_NAME: tta-similarity-api-((env))
NEW_RELIC_LICENSE_KEY: ((NEW_RELIC_LICENSE_KEY))
processes:
- type: web
instances: ((similarity_api_instances))
command: gunicorn -w 4 -b 0.0.0.0:8080 app:app --preload
memory: ((similarity_api_memory))
disk_quota: ((similarity_api_disk_quota))