-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
93 lines (73 loc) · 2 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
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '3.3'
name: realestate-microservices
services:
# API Gateway
api-gateway:
image: ${DOCKER_REGISTRY-}api-gateway
build:
context: .
dockerfile: RealEstate.ApiGateway/Dockerfile
# Microservices
api.estates:
image: ${DOCKER_REGISTRY-}api.estates
build:
context: .
dockerfile: Microservices/EstatesMicroservice/Dockerfile
api.listings:
image: ${DOCKER_REGISTRY-}api.listings
build:
context: .
dockerfile: Microservices/ListingsMicroservice/Dockerfile
api.clients:
image: ${DOCKER_REGISTRY-}api.clients
build:
context: .
dockerfile: Microservices/ClientsMicroservice/Dockerfile
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
api.contracts:
image: ${DOCKER_REGISTRY-}api.contracts
build:
context: .
dockerfile: Microservices/ContractsMicroservice/Dockerfile
api.external:
image: ${DOCKER_REGISTRY-}api.external
build:
context: .
dockerfile: Microservices/ExternalAPIsMicroservice/Dockerfile
api.messaging:
image: ${DOCKER_REGISTRY-}api.messaging
build:
context: .
dockerfile: Microservices/MessagingMicroservice/Dockerfile
api.utilities:
image: ${DOCKER_REGISTRY-}api.utilities
build:
context: .
dockerfile: Microservices/UtilitiesMicroservice/Dockerfile
# Utilities:
util.rabbitmq:
image: rabbitmq:3-management-alpine
util.pgadmin:
image: dpage/pgadmin4
util.portainer:
image: portainer/portainer-ce
util.elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2
util.kibana:
image: docker.elastic.co/kibana/kibana:7.9.2
# Databases + Keycloak
db.realestate:
image: postgres
keycloak:
image: quay.io/keycloak/keycloak:19.0.1
db.messages:
image: redis:alpine
# Volumes - persist data from containers
volumes:
re_data:
mongo_data:
portainer_data:
pgadmin_data:
elasticsearch-data: