-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·50 lines (47 loc) · 1.48 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
version: '3.4'
services:
jankcat.visualcompare.api:
image: jankcat.visualcompare.api
build:
context: .
dockerfile: Jankcat.VisualCompare.API/Dockerfile
depends_on:
- rabbitmq
environment:
VISDIFF_RABBIT_USER: "${VISDIFF_RABBIT_USER}"
VISDIFF_RABBIT_PASS: "${VISDIFF_RABBIT_PASS}"
VISDIFF_RABBIT_HOST: "${VISDIFF_RABBIT_HOST}"
labels:
jankcat.visualcompare.api.description: "Visual Compare Web API"
ports:
- "5000:80"
restart: unless-stopped
jankcat.visualcompare.worker:
image: jankcat.visualcompare.worker
build:
context: .
dockerfile: Jankcat.VisualCompare.Worker/Dockerfile
depends_on:
- jankcat.visualcompare.api
- rabbitmq
environment:
VISDIFF_RABBIT_USER: "${VISDIFF_RABBIT_USER}"
VISDIFF_RABBIT_PASS: "${VISDIFF_RABBIT_PASS}"
VISDIFF_RABBIT_HOST: "${VISDIFF_RABBIT_HOST}"
VISDIFF_JIRA_HOST: "${VISDIFF_JIRA_HOST}"
VISDIFF_JIRA_USER: "${VISDIFF_JIRA_USER}"
VISDIFF_JIRA_KEY: "${VISDIFF_JIRA_KEY}"
labels:
jankcat.visualcompare.worker.description: "Visual Compare Worker"
restart: unless-stopped
rabbitmq:
image: rabbitmq:3-management
environment:
RABBITMQ_DEFAULT_USER: "${VISDIFF_RABBIT_USER}"
RABBITMQ_DEFAULT_PASS: "${VISDIFF_RABBIT_PASS}"
labels:
jankcat.visualcompare.rabbit.description: "Visual Compare Middleware"
ports:
- "8080:15672"
- "5672:5672"
restart: unless-stopped