-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (47 loc) · 1.08 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (47 loc) · 1.08 KB
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
services:
message_broker:
image: rabbitmq:3-alpine
container_name: 'rabbitmq'
networks:
- main_network
main_service:
build:
context: ScienceArchive.Server/
dockerfile: Dockerfile
container_name: 'main_service'
ports:
- 5000:5000
depends_on:
- message_broker
networks:
- main_network
extra_hosts:
- "host.docker.internal:host-gateway"
content_storage:
build:
context: microservices/content-storage-service/
dockerfile: Dockerfile
container_name: 'content_storage_service'
networks:
- main_network
notification_service:
build:
context: microservices/notification-service
dockerfile: build/Dockerfile
container_name: 'notification_service'
depends_on:
- message_broker
networks:
- main_network
log_service:
build:
context: microservices/log-service
dockerfile: build/Dockerfile
container_name: 'log_service'
depends_on:
- message_broker
networks:
- main_network
networks:
main_network:
driver: bridge