-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
83 lines (83 loc) · 3.16 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
version: '3.7'
services:
neo4j:
image: neo4j:${NEO4J_VERSION}
ports:
- "${NEO4J_HTTP_PORT:-7474}:7474"
- "${NEO4J_BOLT_PORT:-7687}:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/${NEO4J_PASSWORD:-password}
- NEO4J_dbms_connector_bolt_advertised__address=${HUME_ADVERTISED_ADDRESS:-localhost}:${NEO4J_PORT:-7687}
- NEO4JLABS_PLUGINS=["apoc","graph-data-science"]
volumes:
- "hume_neo4j_data:/data"
neo4j-config-cli:
image: graphaware/neo4j-config-cli:1.3.0
environment:
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=password
- NEO4J_URI=bolt://neo4j:7687
- IMPORT_PATH=/config
volumes:
- "./resources/neo4j-config:/config"
postgres:
image: postgres:12.0
environment:
POSTGRES_PASSWORD: ${HUME_DB_PASSWORD:-pgsqls3cr3t}
POSTGRES_USER: ${HUME_DB_USER:-hume}
ports:
- 5432:5432
orchestra:
image: docker.graphaware.com/public/hume-orchestra:${HUME_VERSION}
ports:
- 8100:8100
- 8666:8666
environment:
- orchestra.startup.workflows.autoload=true
- hume.security.encryption.engine=keystore
- hume.security.encryption.keystore.file=/opt/hume-keystore
- hume.security.encryption.keystore.password=changeit
- hume.security.encryption.keystore.secret.alias=secret
volumes:
- ${HUME_PUBLIC_DIR:-./public}:/data
- "./resources/keystore/hume-keystore:/opt/hume-keystore"
api:
image: docker.graphaware.com/public/hume-api:${HUME_VERSION}
ports:
- "8080:8080"
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_FEATURE_DRILLDOWN_ENABLED=true
- HUME_FEATURE_PERSPECTIVE_GRAPHQL_ENABLED=true
- HUME_FEATURE_PERSPECTIVE_ACTION_SCOPING_ENABLED=true
- com.hume.testing.unsecure.enabled=true
- 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=Auto Admin
- com.hume.core.admin.setup.step.admin_creation.password=password
- com.hume.core.security.license.b64=${HUME_LICENCE_KEY}
- hume.config-as-code.enabled=true
- hume.config-as-code.import-dir=/init
- hume.config-as-code.autoload=true
- GRAPHQL_KEY_TOKEN=${API_KEY_SECRET}
- NEO4J_DB_PASSWORD=${NEO4J_PASSWORD}
- hume.security.encryption.engine=keystore
- hume.security.encryption.keystore.file=/opt/hume-keystore
- hume.security.encryption.keystore.password=changeit
- hume.security.encryption.keystore.secret.alias=secret
volumes:
- "./resources/hume:/init"
- "./resources/keystore/hume-keystore:/opt/hume-keystore"
web:
image: docker.graphaware.com/public/hume-web:${HUME_VERSION}
environment:
- HUME_API_URL=http://localhost:8080
ports:
- "${HUME_FRONT_PORT:-8081}:8081"
volumes:
hume_postgres_data:
hume_neo4j_data: