forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.tmpl.yaml
43 lines (40 loc) · 1.11 KB
/
docker-compose.prod.tmpl.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
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.7'
services:
ghdocs-prod:
image: '#{IMAGE}#'
ports:
- '4000:4000'
environment:
NODE_ENV: ${NODE_ENV}
NODE_OPTIONS: ${NODE_OPTIONS}
DD_API_KEY: ${DD_API_KEY}
COOKIE_SECRET: ${COOKIE_SECRET}
HYDRO_ENDPOINT: ${HYDRO_ENDPOINT}
HYDRO_SECRET: ${HYDRO_SECRET}
HAYSTACK_URL: ${HAYSTACK_URL}
HEROKU_APP_NAME: ${HEROKU_APP_NAME}
ENABLED_LANGUAGES: ${ENABLED_LANGUAGES}
DEPLOYMENT_ENV: ${DEPLOYMENT_ENV}
HEROKU_PRODUCTION_APP: true
PORT: 4000
DD_AGENT_HOST: datadog-agent
SIGSCI_RPC_ADDRESS: sigsci-agent:8000
depends_on:
- datadog-agent
restart: always
datadog-agent:
image: datadog/dogstatsd:7.32.4
ports:
- '8125:8125'
environment:
DD_API_KEY: ${DD_API_KEY}
DD_AGENT_HOST: datadog-agent
DD_HISTOGRAM_PERCENTILES: 0.99 0.95 0.50
sigsci-agent:
image: signalsciences/sigsci-agent
ports:
- '8000:8000'
environment:
SIGSCI_RPC_ADDRESS: 0.0.0.0:8000
SIGSCI_ACCESSKEY: ${SIGSCI_ACCESSKEYID}
SIGSCI_SECRETACCESSKEY: ${SIGSCI_SECRETACCESSKEY}