-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
49 lines (40 loc) · 1.23 KB
/
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
44
45
46
47
48
49
version: "3.7"
services:
fallout:
image: "datastax/fallout"
ports:
- "8080:8080"
volumes:
# Forward local machine SSH keys to docker; this will allow fallout to
# access git repos with your private key. Note that on maoOS you will
# need to set SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock; this
# is handled for you if you run this file using the gradle
# runServerInDocker target.
- type: bind
source: $SSH_AUTH_SOCK
target: /ssh-agent
# Where fallout stores testrun artifacts
- type: volume
source: fallout-artifacts
target: /home/fallout/tests
ulimits:
nofile:
soft: 100000
hard: 100000
environment:
# Set this to "USERNAME:EMAIL:PASSWORD" to create a default
# admin user (if it doesn't already exist) on startup.
FALLOUT_ADMIN_CREDS:
# Set this to "SINGLE_USER" to make fallout launch in single-user
# mode
FALLOUT_AUTH_MODE:
SSH_AUTH_SOCK: /ssh-agent
cassandra:
image: "cassandra:${CASSANDRA_VERSION:-2.1.21}"
volumes:
- type: volume
source: fallout-cassandra
target: /var/lib/cassandra
volumes:
fallout-artifacts:
fallout-cassandra: