-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yaml
56 lines (54 loc) · 1.32 KB
/
compose.yaml
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
version: '3'
services:
testrunner:
image: $DEV_IMAGE_TAG
build:
dockerfile: Dockerfile.dev
context: .
args:
OTP_VERSION: $OTP_VERSION
THRIFT_VERSION: $THRIFT_VERSION
volumes:
- .:$PWD
hostname: $SERVICE_NAME
working_dir: $PWD
command: /sbin/init
depends_on:
riakdb:
condition: service_healthy
kds:
condition: service_healthy
riakdb:
image: docker.io/basho/riak-kv:${RIAK_VERSION}
environment:
- CLUSTER_NAME=riakkv
volumes:
- ./test/riak/user.conf:/etc/riak/user.conf:ro
healthcheck:
test: "riak-admin test"
interval: 5s
timeout: 10s
retries: 20
member:
image: docker.io/basho/riak-kv:${RIAK_VERSION}
links:
- riakdb
depends_on:
- riakdb
environment:
- CLUSTER_NAME=riakkv
- COORDINATOR_NODE=riakdb
volumes:
- ./test/riak/user.conf:/etc/riak/user.conf:ro
kds:
image: ghcr.io/valitydev/kds:sha-f034482
command: /opt/kds/bin/kds foreground
volumes:
- ./test/kds/sys.config:/opt/kds/releases/0.1.0/sys.config:ro
- ./test/kds/ca.crt:/var/lib/kds/ca.crt:ro
- ./test/kds/server.pem:/var/lib/kds/server.pem:ro
healthcheck:
test: "/opt/kds/bin/kds ping"
interval: 5s
timeout: 1s
retries: 20