-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
47 lines (45 loc) · 1.07 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
version: '3'
services:
kvs:
image: hazelcast/hazelcast
environment:
JAVA_OPTS: -Dhazelcast.local.publicAddress=0.0.0.0:5701
ports:
- "5701:5701"
db:
image: postgres:11
restart: always
environment:
POSTGRES_PASSWORD: bouncr
POSTGRES_USER: bouncr
ports:
- "5432:5432"
proxy:
image: bouncr/bouncr-proxy
depends_on:
- db
- kvs
- api
environment:
PORT: "3000"
JDBC_URL: jdbc:postgresql://db:5432/bouncr
JDBC_USER: bouncr
JDBC_PASSWORD: bouncr
JAVA_OPTS: -Dhazelcast.member.address=kvs
ports:
- "3000:3000"
api:
image: bouncr/bouncr-api-server
depends_on:
- db
- kvs
environment:
PORT: "3005"
JDBC_URL: jdbc:postgresql://db:5432/bouncr
JDBC_USER: bouncr
JDBC_PASSWORD: bouncr
JAVA_OPTS: -Dhazelcast.member.address=kvs -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
ports:
- "3005:3005"
- "5005:5005"