-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (60 loc) · 1.49 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
version: "3.8"
services:
rabbitmq3:
container_name: "rabbitmq"
image: rabbitmq:3.8-management-alpine
environment:
- RABBITMQ_DEFAULT_USER=myuser
- RABBITMQ_DEFAULT_PASS=mypassword
ports:
# AMQP protocol port
- '5672:5672'
# HTTP management UI
- '15672:15672'
networks:
- video-service
video-service:
build: ./VideoService
image: voidbgs/videoservice
ports:
- "7000:80"
networks:
- video-service
restart: on-failure
depends_on:
- rabbitmq3
like-service:
build: ./LikeService
container_name: likeservice
image: voidbgs/likeservice
ports:
- "8002:80"
networks:
- video-service
restart: on-failure
depends_on:
- rabbitmq3
frontend-client:
build: ./videa-frontend
container_name: frontendclient
image: voidbgs/frontendclient
ports:
- "80:80"
networks:
- video-service
restart: on-failure
depends_on:
- api-gateway
api-gateway:
image: nginx:alpine
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "4000:4000"
networks:
- video-service
depends_on:
- video-service
- like-service
networks:
video-service: