forked from zio/zio-quill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (54 loc) · 1.19 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
50
51
52
53
54
55
56
57
58
59
postgres:
image: postgres
ports:
- "15432:5432"
environment:
- POSTGRES_USER=postgres
mysql:
image: mysql
ports:
- "13306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=quill_test
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
cassandra:
image: cassandra:3.7
ports:
- "19042:9042"
- "19160:9160"
- "17199:7199"
- "17001:7001"
- "17000:7000"
setup:
build: .
dockerfile: ./build/Dockerfile-setup
links:
- postgres:postgres
- mysql:mysql
- cassandra:cassandra
volumes:
- ./:/app
command:
- ./build/setup.sh
working_dir: /app
sbt:
build: .
dockerfile: ./build/Dockerfile-sbt
ports:
- "15005:5005"
command: sbt
links:
- postgres:postgres
- mysql:mysql
- cassandra:cassandra
volumes:
- ./:/app
- ~/.ivy2:/root/.ivy2
- ~/.m2:/root/.m2
- ~/.ssh/:/root/.ssh/
environment:
- TRAVIS_PULL_REQUEST
- TRAVIS_BRANCH
- ENCRYPTION_PASSWORD
- SBT_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -Dfile.encoding=UTF-8 -Xms512m -Xmx1536m -Xss2m -XX:ReservedCodeCacheSize=256m -XX:+TieredCompilation -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC