-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (45 loc) · 1.35 KB
/
docker-compose.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
version: '3'
volumes:
api_store:
api-svc_logs_store:
boticon_store:
log_fluent_store:
services:
hu_api_db:
image: hu_api_db
volumes:
- api_store:/var/lib/mysql
ports:
- "13306:3306"
fluentd:
image: fluent/fluentd:v1.1.1-onbuild
volumes:
- log_fluent_store:/logs
- "./fluentd/fluent.conf:/fluentd/etc/fluent.conf"
hu_api-ctrl:
image: hu_api-controller
depends_on:
- hu_api_db
ports:
- "8081:8080"
environment:
- API_CONNECTION_STRING=jdbc:mysql://hu_api_db:3306/hutoma?user=hutoma_caller&password=%3EYR%22khuN*.gF)V4%23&zeroDateTimeBehavior=convertToNull
- API_LOGGING_FLUENT_HOST=fluentd
- API_LOGGING_FLUENT_PORT=24224
hu_api-core:
image: hu_api-core
depends_on:
- hu_api_db
volumes:
- api-svc_logs_store:/usr/local/tomcat/logs
- boticon_store:/boticon
ports:
- "8080:8080"
environment:
- API_ENCODING_KEY="L0562EMBfnLadKy57nxo9btyi3BEKm9m+DoNvGcfZa+DjHsXwTl+BwCE4NeKEAagfkhYBFvhvJoAgtugSsQOfw=="
- API_CONNECTION_STRING=jdbc:mysql://hu_api_db:3306/hutoma?user=hutoma_caller&password=%3EYR%22khuN*.gF)V4%23&zeroDateTimeBehavior=convertToNull
- API_LOGGING_FLUENT_HOST=fluentd
- API_LOGGING_FLUENT_PORT=24224
- API_RATELIMIT_CHAT_BURST=20.0
- API_RATELIMIT_CHAT_FREQUENCY=0.1
- API_CONTROLLER_URL=http://hu_api-ctrl:8080/v1