-
Notifications
You must be signed in to change notification settings - Fork 31
/
docker-compose.yml
54 lines (51 loc) · 1.05 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
version: '3.7'
services:
domain:
image: todomvc/domain:${TAG:-latest}
build:
context: .
dockerfile: src/Domain/Dockerfile
depends_on:
- rabbitmq
- eventstore
restart: always
application:
image: todomvc/application:${TAG:-latest}
build:
context: .
dockerfile: src/Application/Dockerfile
depends_on:
- rabbitmq
- eventstore
restart: always
presentation:
image: todomvc/web:${TAG:-latest}
build:
context: .
dockerfile: src/Web/Dockerfile
depends_on:
- rabbitmq
ports:
- "8080:80"
- "4443:443"
restart: always
# windows image
#rabbitmq:
# image: spring2/rabbitmq
# ports:
# - "15672:15672"
# - "5672:5672"
# linux images
rabbitmq:
image: rabbitmq:3-management-alpine
ports:
- "15672:15672"
- "5672:5672"
eventstore:
image: eventstore/eventstore:latest
environment:
- EVENTSTORE_INSECURE=TRUE
- EVENTSTORE_RUN_PROJECTIONS=ALL
ports:
- "1113:1113"
- "2113:2113"