-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.databases.yml
85 lines (78 loc) · 2.43 KB
/
docker-compose.databases.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
version: '2.4'
services:
entrust_influx_db:
image: influxdb:2.2
hostname: entrust-influx-db
container_name: entrust_influx_db
restart: unless-stopped
mem_limit: 1G
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=entrust_influxdb
- DOCKER_INFLUXDB_INIT_PASSWORD=entrust_influxdb
- DOCKER_INFLUXDB_INIT_ORG=entrust
- DOCKER_INFLUXDB_INIT_BUCKET=entrust
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=entrust_influxdb_admin_token
volumes:
- entrust-influx-db-data-volume:/var/lib/influxdb2
- entrust-influx-db-config-volume:/etc/influxdb2
healthcheck:
test: "influx ping"
interval: 5s
timeout: 30s
retries: 5
entrust_neo4j_kg:
image: neo4j:4.4-community
hostname: entrust-neo4j-kg
container_name: entrust_neo4j_kg
mem_limit: 4G
restart: unless-stopped
volumes:
- entrust-neo4j-conf-volume:/var/lib/neo4j/conf/
- entrust-neo4j-logs-volume:/logs
- entrust-neo4j-data-volume:/data
healthcheck:
test: perl -MIO::Socket::INET -e 'exit(! defined( IO::Socket::INET->new("localhost:7687")))'
interval: 10s
timeout: 2s
retries: 10
environment:
- NEO4J_AUTH=neo4j/entrust-neo4j
- NEO4JLABS_PLUGINS=["apoc", "graph-algorithms"]
- NEO4J_dbms_security_procedures_unrestricted=apoc.*,algo.*,gds.*
- NEO4J_dbms_security_procedures_whitelist=apoc.*,algo.*,gds.*
- NEO4J_dbms.security.procedures.allowlist=gds.*
- NEO4J_apoc_import_file_enabled=true
- NEO4J_dbms_shell_enabled=true
entrust_minio_s3:
image: minio/minio
hostname: entrust-minio-s3
container_name: entrust_minio_s3
mem_limit: 1G
restart: unless-stopped
volumes:
- entrust-minio-s3-volume:/data
environment:
MINIO_ACCESS_KEY: entrust_minio_access_key
MINIO_SECRET_KEY: entrust_minio_secret_key
MINIO_ROOT_USER: entrust_minio
MINIO_ROOT_PASSWORD: entrust_minio
command: server --address 0.0.0.0:9000 --console-address ":9099" /data
healthcheck:
test:
[
"CMD",
"curl",
"-f",
"http://127.0.0.1:9000/minio/health/live"
]
interval: 30s
timeout: 20s
retries: 3
volumes:
entrust-minio-s3-volume:
entrust-neo4j-conf-volume:
entrust-neo4j-logs-volume:
entrust-neo4j-data-volume:
entrust-influx-db-data-volume:
entrust-influx-db-config-volume: