-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.databases.yml
79 lines (72 loc) · 2.07 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
version: '2.4'
services:
sindit_influx_db:
image: influxdb:2.2
hostname: sindit-influx-db
container_name: sindit_influx_db
restart: unless-stopped
mem_limit: 1G
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=sindit_influxdb
- DOCKER_INFLUXDB_INIT_PASSWORD=sindit_influxdb
- DOCKER_INFLUXDB_INIT_ORG=sindit
- DOCKER_INFLUXDB_INIT_BUCKET=sindit
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=sindit_influxdb_admin_token
volumes:
- sindit-influx-db-data-volume:/var/lib/influxdb2
- sindit-influx-db-config-volume:/etc/influxdb2
healthcheck:
test: "influx ping"
interval: 5s
timeout: 30s
retries: 5
sindit_neo4j_kg:
image: neo4j:4.4-community
hostname: sindit-neo4j-kg
container_name: sindit_neo4j_kg
mem_limit: 4G
restart: unless-stopped
volumes:
- sindit-neo4j-conf-volume:/var/lib/neo4j/conf/
- sindit-neo4j-logs-volume:/logs
- sindit-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/sindit-neo4j
sindit_minio_s3:
image: minio/minio
hostname: sindit-minio-s3
container_name: sindit_minio_s3
mem_limit: 1G
restart: unless-stopped
volumes:
- sindit-minio-s3-volume:/data
environment:
MINIO_ACCESS_KEY: sindit_minio_access_key
MINIO_SECRET_KEY: sindit_minio_secret_key
MINIO_ROOT_USER: sindit_minio
MINIO_ROOT_PASSWORD: sindit_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:
sindit-minio-s3-volume:
sindit-neo4j-conf-volume:
sindit-neo4j-logs-volume:
sindit-neo4j-data-volume:
sindit-influx-db-data-volume:
sindit-influx-db-config-volume: