-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose copy.yml
78 lines (72 loc) · 1.72 KB
/
docker-compose copy.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
version: '3.8'
volumes:
scylla_node1:
# scylla_node2:
# scylla_node3:
services:
server:
build:
dockerfile: ./Dockerfile
ports:
- 8088:8088
environment:
DB_HOST: scylla-node1
DB_USERNAME: root
DB_PASSWORD:
HOST_PORT: 8088
restart: always
depends_on:
scylla-node1:
condition: service_healthy
# scylla-node2:
# condition: service_healthy
# scylla-node3:
# condition: service_healthy
scylla-node1:
image: scylladb/scylla
command: --seeds=scylla-node1
volumes:
- scylla_node1:/var/lib/scylla
environment:
- SCYLLA_USERNAME=root
- SCYLLA_PASSWORD=
healthcheck:
test: ["CMD", "cqlsh", "-e", "describe keyspaces"]
interval: 15s
timeout: 10s
retries: 10
start_period: 30s
# scylla-node2:
# image: scylladb/scylla
# command: --seeds=scylla-node1
# volumes:
# - scylla_node2:/var/lib/scylla
# environment:
# - SCYLLA_USERNAME=root
# - SCYLLA_PASSWORD=
# healthcheck:
# test: ["CMD", "cqlsh", "-e", "describe keyspaces"]
# interval: 15s
# timeout: 10s
# retries: 10
# start_period: 30s
# depends_on:
# scylla-node1:
# condition: service_healthy
# scylla-node3:
# image: scylladb/scylla
# command: --seeds=scylla-node1
# volumes:
# - scylla_node3:/var/lib/scylla
# environment:
# - SCYLLA_USERNAME=root
# - SCYLLA_PASSWORD=
# healthcheck:
# test: ["CMD", "cqlsh", "-e", "describe keyspaces"]
# interval: 15s
# timeout: 10s
# retries: 10
# start_period: 30s
# depends_on:
# scylla-node1:
# condition: service_healthy