-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (47 loc) · 1.25 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
version: '3'
services:
lighthouse:
image: petabridge/lighthouse:v0.9.2
ports:
- '9110:9110'
- '4053:4053'
environment:
ACTORSYSTEM: "webcrawler"
CLUSTER_IP: lighthouse
CLUSTER_PORT: 4053
CLUSTER_SEEDS: "akka.tcp://webcrawler@lighthouse:4053"
webcrawler.web:
image: webcrawler.web
build:
context: .
dockerfile: src/WebCrawler.Web/Dockerfile
ports:
- '8080:80'
environment:
CLUSTER_SEEDS: "akka.tcp://webcrawler@lighthouse:4053"
CLUSTER_IP: webcrawler.web
CLUSTER_PORT: 0
depends_on:
- "lighthouse"
webcrawler.crawlservice:
image: webcrawler.crawlservice
build:
context: .
dockerfile: src/WebCrawler.CrawlService/Dockerfile
environment:
CLUSTER_SEEDS: "akka.tcp://webcrawler@lighthouse:4053"
CLUSTER_IP: webcrawler.crawlservice
CLUSTER_PORT: 0
depends_on:
- "lighthouse"
webcrawler.trackerservice:
image: webcrawler.trackerservice
build:
context: .
dockerfile: src/WebCrawler.TrackerService/Dockerfile
environment:
CLUSTER_SEEDS: "akka.tcp://webcrawler@lighthouse:4053"
CLUSTER_IP: webcrawler.trackerservice
CLUSTER_PORT: 0
depends_on:
- "lighthouse"