-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
84 lines (76 loc) · 2.12 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
version: '3'
services:
neo4j:
image: ${NEO4J_IMAGE_OVERRIDE:-neo4j/neo4j-arm64-experimental:3.5.30}
container_name: pfi-neo4j
environment:
NEO4J_AUTH: neo4j/bob
NEO4J_dbms_connector_bolt_advertised__address: bolt.neo4j.pfi.local.dev-gutools.co.uk:443
volumes:
- neo4j:/var/lib/neo4j/data
ports:
- 7474:7474
- 7687:7687
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.2
container_name: pfi-elasticsearch
environment:
- discovery.type=single-node
- network.publish_host=127.0.0.1
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms4g -Xmx4g"
- xpack.security.enabled=false
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- elasticsearch:/usr/share/elasticsearch/data
ports:
- 9200:9200
cerebro:
image: lmenezes/cerebro:0.9.3
container_name: pfi-cerebro
ports:
- 9092:9000
command: '-Dconfig.file=/opt/cerebro/conf/cerebro.conf'
volumes:
- ${PWD}/util/local-cerebro.conf:/opt/cerebro/conf/cerebro.conf
minio:
image: minio/minio:RELEASE.2022-03-05T06-32-39Z
container_name: pfi-minio
environment:
MINIO_ROOT_USER: minio-user
MINIO_ROOT_PASSWORD: reallyverysecret
volumes:
- minio:/export
ports:
- 9090:9000
- 9091:9001
entrypoint:
sh
command:
-c 'mkdir -p /export/ingest-data && mkdir -p /export/transcription-output-data && mkdir -p /export/ingest-data-dead-letter && mkdir -p /export/data && mkdir -p /export/preview && minio server /export --console-address ":9001"'
postgres:
image: postgres:15.3
# make sure there's enough memory to run VACUUM
shm_size: 1g
ports:
- 8432:5432
environment:
- POSTGRES_USER=giant_master
- POSTGRES_PASSWORD=giant
- POSTGRES_DB=giant
volumes:
- postgres-data:/var/lib/postgresql/data
command:
["postgres", "-c", "log_statement=all", "-c", "random_page_cost=1.5"]
volumes:
neo4j:
driver: local
elasticsearch:
driver: local
minio:
driver: local
postgres-data:
driver: local