-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.testing.yml
65 lines (60 loc) · 1.65 KB
/
docker-compose.testing.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
testing-video-service:
build: ./VideoService
container_name: videoservice.testing
image: voidbgs/videoservice.testing
environment:
ASPNETCORE_ENVIRONMENT: Development
ports:
- "7000:80"
networks:
- testing-video-service
restart: on-failure
# like-service:
# build: ./LikeService
# container_name: likeservice
# image: voidbgs/likeservice
# ports:
# - "7002:80"
# networks:
# - video-service
# restart: on-failure
# depends_on:
# - rabbitmq3
frontend-client:
build: ./videa-frontend
container_name: frontendclient.testing
image: voidbgs/frontendclient
ports:
- "80:80"
networks:
- testing-video-service
restart: on-failure
depends_on:
- api-gateway
api-gateway:
image: nginx:alpine
volumes:
- ./nginx.conf:/etc/nginx/nginx.test.conf:ro
ports:
- "4000:4000"
networks:
- testing-video-service
depends_on:
- testing-video-service
networks:
testing-video-service: