Skip to content

Commit dcc7363

Browse files
committed
Add dev docker-compose file, default dependencies
1 parent 88afb49 commit dcc7363

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

docker-dev.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: '2'
2+
3+
services:
4+
zookeeper:
5+
image: jplock/zookeeper
6+
ports:
7+
- '2181:2181'
8+
9+
cassandra:
10+
image: cassandra
11+
ports:
12+
- '9042:9042'
13+
- '7000:7000'
14+
- '7199:7199'
15+
16+
query_db:
17+
image: postgres:9.6.1
18+
ports:
19+
- '54321:5432'
20+
environment:
21+
POSTGRES_DB: hmda
22+
POSTGRES_USER: postgres
23+
POSTGRES_PASSWORD: postgres

query/src/main/resources/application.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ db {
4949
driver = "slick.driver.PostgresDriver$"
5050

5151
db {
52-
url = "jdbc:postgresql://localhost/hmda?user=postgres&password=postgres"
52+
url = "jdbc:postgresql://192.168.99.100/hmda?user=postgres&password=postgres"
5353
url = ${?JDBC_URL}
5454
driver = org.postgresql.Driver
5555
numThreads = 2

0 commit comments

Comments
 (0)