This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
72 lines (72 loc) · 2.34 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
version: '3'
networks:
mock-cbreak-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.200.0.0/16
services:
cloudbreak:
labels:
- traefik.port=8080
- traefik.frontend.rule=PathPrefix:/cb/
- traefik.backend=cloudbreak-backend
- traefik.frontend.priority=510
ports:
- 9091:8080
volumes:
- ${PWD}/swagger-cloudbreak.json:/cbm/api/swagger.json
- ${PWD}/responses:/cbm/responses
image: hortonworks/cloud-swagger-mock
container_name: cbreak_cloudbreak_1
networks:
- mock-cbreak-network
environment:
labels:
- traefik.port=8080
- traefik.frontend.rule=PathPrefix:/environmentservice/
- traefik.backend=environment-backend
- traefik.frontend.priority=510
ports:
- 8088:8080
volumes:
- ${PWD}/swagger-environment.json:/cbm/api/swagger.json
- ${PWD}/responses:/cbm/responses
image: hortonworks/cloud-swagger-mock
command: ['--', '-u','/environmentservice/api', '-s', '/environmentservice/api']
container_name: cbreak_environment_1
networks:
- mock-cbreak-network
datalake:
labels:
- traefik.port=8080
- traefik.frontend.rule=PathPrefix:/dl/
- traefik.backend=datalake-backend
- traefik.frontend.priority=510
ports:
- 8086:8080
volumes:
- ${PWD}/swagger-datalake.json:/cbm/api/swagger.json
- ${PWD}/responses:/cbm/responses
image: hortonworks/cloud-swagger-mock
command: ['--', '-u','/dl/api', '-s', '/dl/api']
container_name: cbreak_datalake_1
networks:
- mock-cbreak-network
redbeams:
labels:
- traefik.port=8080
- traefik.frontend.rule=PathPrefix:/redbeams/
- traefik.backend=redbeams-backend
- traefik.frontend.priority=510
ports:
- 8087:8080
volumes:
- ${PWD}/swagger-redbeams.json:/cbm/api/swagger.json
- ${PWD}/responses:/cbm/responses
image: hortonworks/cloud-swagger-mock
command: ['--', '-u','/redbeams/api', '-s', '/redbeams/api']
container_name: cbreak_redbeams_1
networks:
- mock-cbreak-network