-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (66 loc) · 1.73 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
version: "3.8"
services:
apigateway:
build:
context: src
dockerfile: ApiGateway/Dockerfile
depends_on:
- httpserv
- intermediate
- observer
- original
- rabbitmq
ports:
- 8081:80
volumes:
- /var/run/docker.sock:/app/docker.sock
httpserv:
build:
context: src
dockerfile: HttpServ/Dockerfile
ports:
- 8080:80
volumes:
- ./Logs:/Logs
intermediate:
build:
context: src
dockerfile: Intermediate/Dockerfile
depends_on:
- rabbitmq
volumes:
- ./Scripts:/Scripts
entrypoint: bash /Scripts/wait-for-it.sh rabbitmq:5672 -t 30 -- dotnet Intermediate.dll
observer:
build:
context: src
dockerfile: Observer/Dockerfile
depends_on:
- rabbitmq
volumes:
- ./Logs:/Logs
- ./Scripts:/Scripts
entrypoint: bash /Scripts/wait-for-it.sh rabbitmq:5672 -t 30 -- dotnet Observer.dll
original:
build:
context: src
dockerfile: Original/Dockerfile
depends_on:
- rabbitmq
- intermediate
- observer
volumes:
- ./Scripts:/Scripts
environment:
TEST_RUN: $TEST_RUN
entrypoint: bash /Scripts/wait-for-it.sh rabbitmq:5672 -t 30 -- dotnet Original.dll
rabbitmq:
image: rabbitmq:3.8.9-management
seq:
image: datalust/seq:2020.4
environment:
ACCEPT_EULA: "Y"
volumes:
- ./seq:/data
ports:
- 5341:80