-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-common.yml
76 lines (67 loc) · 1.98 KB
/
docker-common.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
akka-cluster-node:
# Runs Fabric 8, alpine based JDK. Official JDK8 is almost a gig, Alpine is ~200MB
# NOTE: if you're building from SBT you'll also need to make sure SBT has an image name,
# or it'll default to java:latest which overrides this value
# Make *SURE* you enable the AshScriptPlugin in SBT or it won't work – alpine uses busybox which lacks bash, only ash
image: fabric8/java-alpine-openjdk8-jdk:1.0.10
environment:
IS_SEED: 1
#RUN apk add --update bash && rm -rf /var/cache/apk/*
net: "host"
frontend-node:
extends:
service: akka-cluster-node
build: ./frontend/target/docker/stage
environment:
CLUSTER_ROLE: frontend
IS_SEED: 1
labels:
com.boldradius.description: "Frontend / Seed Node"
shared-journal-node:
extends:
service: akka-cluster-node
build: ./journal/target/docker/stage
environment:
CLUSTER_ROLE: shared-journal
labels:
com.boldradius.description: "Shared Journal Node"
trader-db-node:
extends:
service: akka-cluster-node
build: ./trader-db/target/docker/stage
environment:
CLUSTER_ROLE: trader-db
labels:
com.boldradius.description: "Trader Database Node"
trade-engine-node:
extends:
service: akka-cluster-node
build: ./trade-engine/target/docker/stage
environment:
CLUSTER_ROLE: trader-engine
labels:
com.boldradius.description: "Trader Database Node"
ticker-node:
extends:
service: akka-cluster-node
build: ./ticker/target/docker/stage
environment:
CLUSTER_ROLE: ticker
labels:
com.boldradius.description: "Trade Ticker Node"
network-trade-node:
extends:
service: akka-cluster-node
build: ./network-trade/target/docker/stage
environment:
CLUSTER_ROLE: network-trade
labels:
com.boldradius.description: "Network Trade Node"
securities-db-node:
extends:
service: akka-cluster-node
build: ./securities-db/target/docker/stage
environment:
CLUSTER_ROLE: securities-db
labels:
com.boldradius.description: "Securities DB Node"