-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (39 loc) · 892 Bytes
/
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
version: "3.8"
services:
minio:
image: minio/minio
restart: always
environment:
MINIO_ROOT_USER: "user"
MINIO_ROOT_PASSWORD: "password"
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_data:/data
command: server --console-address ":9001" /data
minio-buckets:
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
until mc alias set minio http://minio:9000 user password; do
echo 'Waiting for MinIO...'
sleep 1
done;
mc mb minio/media --ignore-existing;
"
janusgraph:
image: janusgraph/janusgraph
restart: always
environment:
JANUSGRAPH_STORAGE_BACKEND: berkeleyje
JANUSGRAPH_CACHE_DB_CACHE: "true"
ports:
- "8182:8182"
volumes:
- janusgraph_data:/var/lib/janusgraph
volumes:
minio_data:
janusgraph_data: