-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.production.yml
77 lines (72 loc) · 1.96 KB
/
docker-compose.production.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
72
73
74
75
76
version: '3'
services:
search:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.1
environment:
- "cluster.name=cleanspeak"
- "bootstrap.memory_lock=true"
- "ES_JAVA_OPTS=${ES_JAVA_OPTS}"
ports:
- 9200:9200
- 9300:9300
networks:
- search
restart: unless-stopped
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es_data:/usr/share/elasticsearch/data
cleanspeak-webservice:
image: cleanspeak/cleanspeak-webservice:latest
depends_on:
- db
- search
environment:
- "DATABASE_URL=jdbc:postgresql://db:5432/cleanspeak"
- "DATABASE_ROOT_USER=${POSTGRES_USER}"
- "DATABASE_ROOT_PASSWORD=${POSTGRES_PASSWORD}"
- "DATABASE_USER=${DATABASE_USER}"
- "DATABASE_PASSWORD=${DATABASE_PASSWORD}"
- "CLEANSPEAK_MEMORY=${CLEANSPEAK_MEMORY}"
- "CLEANSPEAK_SEARCH_SERVERS=http://search:9200"
- "CLEANSPEAK_URL=http://cleanspeak-ws:8001"
- "LICENSE_ID=${LICENSE_ID}"
networks:
- db
- search
restart: unless-stopped
ports:
- 8001:8001
volumes:
- cs_config:/usr/local/inversoft/config
cleanspeak-management-interface:
image: cleanspeak/cleanspeak-management-interface:latest
depends_on:
- db
- search
environment:
- "DATABASE_URL=jdbc:postgresql://db:5432/cleanspeak"
- "DATABASE_ROOT_USER=${POSTGRES_USER}"
- "DATABASE_ROOT_PASSWORD=${POSTGRES_PASSWORD}"
- "DATABASE_USER=${DATABASE_USER}"
- "DATABASE_PASSWORD=${DATABASE_PASSWORD}"
- "CLEANSPEAK_MEMORY=${CLEANSPEAK_MEMORY}"
- "CLEANSPEAK_SEARCH_SERVERS=http://search:9200"
- "CLEANSPEAK_URL=http://cleanspeak-mi:9011"
- "LICENSE_ID=${LICENSE_ID}"
networks:
- db
- search
restart: unless-stopped
ports:
- 8011:8011
volumes:
- cs_config:/usr/local/inversoft/config
networks:
search:
driver: bridge
volumes:
es_data:
cs_config: