This repository has been archived by the owner on Jun 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (74 loc) · 1.96 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: "2"
services:
server:
image: f105a53/search-web:server
build:
context: .
dockerfile: Server/Dockerfile
labels:
traefik.frontend.rule: "Host: search.j2ghz.com"
traefik.enable: "true"
traefik.port: "80"
environment:
RABBITMQ_CSTRING: "host=rabbitmq;username=guest1;password=guest1"
depends_on:
- rabbitmq
- search-node
- preview-service
public-api:
image: f105a53/search-web:public-api
build:
context: .
dockerfile: PublicAPI/Dockerfile
labels:
traefik.frontend.rule: "Host: search-api.j2ghz.com"
traefik.enable: "true"
traefik.port: "80"
environment:
RABBITMQ_CSTRING: "host=rabbitmq;username=guest1;password=guest1"
depends_on:
- rabbitmq
- search-node
- preview-service
search-node:
image: f105a53/search-web:search-node
build:
context: .
dockerfile: SearchNode/Dockerfile
volumes:
- "./lucene-index:/app/lucene-index"
environment:
RABBITMQ_CSTRING: "host=rabbitmq;username=guest1;password=guest1"
depends_on:
- rabbitmq
preview-service:
image: f105a53/search-web:preview-service
build:
context: .
dockerfile: PreviewService/Dockerfile
volumes:
- "/mnt/zpool1/media/ipfs-export/maildir:/mnt/zpool1/media/ipfs-export/maildir:ro"
environment:
RABBITMQ_CSTRING: "host=rabbitmq;username=guest1;password=guest1"
depends_on:
- rabbitmq
spell-check-service:
image: f105a53/search-web:spell-check-service
build:
context: .
dockerfile: SpellCheckService/Dockerfile
volumes:
- "./lucene-index:/app/lucene-index"
environment:
RABBITMQ_CSTRING: "host=rabbitmq;username=guest1;password=guest1"
depends_on:
- rabbitmq
rabbitmq:
image: rabbitmq:3-management
hostname: rabbitmq
ports:
- "15672:15672"
volumes:
- rabbitmq:/var/lib/rabbitmq
volumes:
rabbitmq: