-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
118 lines (118 loc) · 3.76 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: '3.7'
services:
neo4j:
image: docker.graphaware.com/mirror/neo4j:4.3.3-enterprise
ports:
- "${NEO4J_HTTP_PORT:-7474}:7474"
- "${NEO4J_BOLT_PORT:-7687}:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/${NEO4J_PASSWORD}
- NEO4J_dbms_memory_heap_maxSize=4G
- NEO4J_dbms_connector_bolt_advertised__address=${HUME_ADVERTISED_ADDRESS:-localhost}:${NEO4J_PORT:-7687}
- NEO4JLABS_PLUGINS=["apoc","graph-data-science"]
volumes:
- "hume_neo4j_data:/data"
- "hume_neo4j_plugins:/plugins"
profiles:
- hume
- neo4j
neo4j-config-cli:
image: graphaware/neo4j-config-cli:1.3.0
environment:
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=${NEO4J_PASSWORD}
- NEO4J_URI=bolt://neo4j:7687
- IMPORT_PATH=/config
volumes:
- "./config/neo4j:/config"
profiles:
- hume
- neo4j
orchestra:
image: docker.graphaware.com/public/hume-orchestra:${HUME_VERSION}
ports:
- 8100:8100
- 8666:8666
volumes:
- ${HUME_PUBLIC_DIR:-./public}:/data
profiles:
- hume
postgres:
image: postgres:12.0
environment:
POSTGRES_PASSWORD: ${HUME_DB_PASSWORD:-pgsqls3cr3t}
POSTGRES_USER: ${HUME_DB_USER:-hume}
ports:
- 5432:5432
profiles:
- hume
api:
image: docker.graphaware.com/public/hume-api:${HUME_VERSION}
ports:
- "8080:8080"
- "8001:8001"
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/${HUME_DB_USER:-hume}
- SPRING_DATASOURCE_USERNAME=${HUME_DB_USER:-hume}
- SPRING_DATASOURCE_PASSWORD=${HUME_DB_PASSWORD:-pgsqls3cr3t}
- hume.orchestra.uri=http://orchestra:8100
- hume.init.directory=/init
- hume.init.enabled=true
- INIT_DB_PASSWORD=password
- com.hume.core.admin.setup.step.admin_creation.auto=true
- com.hume.core.admin.setup.step.admin_creation.username=admin@hume.ga
- com.hume.core.admin.setup.step.admin_creation.name=Admin User
- com.hume.core.admin.setup.step.admin_creation.password=password
- com.hume.core.security.license.b64=AFswWTA4BgkqhkiG9w0BBQwwKwQU4wDOUuFh2S4yfjsEKVAQz0qbFCMCAhAAAgEQMAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAECBBBtBKKRk2LNjEm4nyRl7HIsiGweNfVILaOCYgTp8A+G05kE3iV0zQXHLqG6eHiToA1+p88YNfI15/fzm/h62lffUuSE4izX3yOSAgZcLUXxcFaWqJJG5mz42Ny+WrP9O18fCGZVmRRQX24+U1Ol1RnydWDFEh5SJ0Qw5nzcYMktSRGz+OrQmIRJyEhhzJH+pnoaIqqFH0eaRwkbDKctEGWjRv03VW25CRRNog+yRQ4wOePOAQUx1Zp7fZvI6QyvRCQq1Nif6LzNoOSbzCte5VMsXcEbFGPcrBQewnAASgRl7K7x8xVr847gOKrfF+ZBwg/IeJ35h4RgLWqDk+iJ6t7BnXO6ugp/Nb26R66GwblwKllMV2IrxuGOe4PZd278O4q/iM1WYDudltaF201Krjw1
volumes:
- ./config/hume:/init
profiles:
- hume
web:
image: docker.graphaware.com/public/hume-web:${HUME_VERSION}
environment:
- HUME_API_URL=http://localhost:8080
ports:
- "${HUME_FRONT_PORT:-8081}:8081"
profiles:
- hume
# Elasticsearch Specifics
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.1
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
volumes:
- "elasticsearch_data:/usr/share/elasticsearch/data"
ports:
- 9200:9200
- 9300:9300
profiles:
- elastic
kibana:
image: docker.elastic.co/kibana/kibana:7.14.1
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
ports:
- 5601:5601
depends_on:
- elasticsearch
profiles:
- elastic
volumes:
hume_postgres_data:
hume_neo4j_data:
hume_neo4j_plugins:
elasticsearch_data: