-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (68 loc) · 2.12 KB
/
docker-compose.yml
File metadata and controls
72 lines (68 loc) · 2.12 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Docker compose for API ML modulith
version: '3.8'
services:
apiml:
image: ghcr.io/zowe/apiml:latest
ports:
- "10010:10010" # External access
- "10011:10011" # External access
- "5130:5130" # For Java remote debugging
volumes:
- /api-defs:/api-defs # Update to an existing local directory
networks:
- apiml_net
- apiml_shared
container_name: apiml
environment:
- APIML_SECURITY_AUTH_PROVIDER=saf
- APIML_SERVICE_HOSTNAME=apiml
- APIML_DISCOVERY_ALLPEERSURLS=https://apiml:10011/eureka,https://apiml-2:10011/eureka
- logbackService=ZWEAGW1
discoverable-client:
image: ghcr.io/zowe/discoverable-client:latest
networks:
- apiml_net
container_name: discoverable-client
environment:
- APIML_SERVICE_DISCOVERYSERVICEURLS=https://apiml:10011/eureka,https://apiml-2:10011/eureka
- APIML_SERVICE_HOSTNAME=discoverable-client
discoverable-client-2:
image: ghcr.io/zowe/discoverable-client:latest
networks:
- apiml2_net
container_name: discoverable-client-2
environment:
- APIML_SERVICE_DISCOVERYSERVICEURLS=https://apiml:10011/eureka,https://apiml-2:10011/eureka
- APIML_SERVICE_HOSTNAME=discoverable-client-2
apiml-2:
image: ghcr.io/zowe/apiml:latest
ports:
- "10020:10010"
- "10021:10011"
- "5011:5130"
networks:
- apiml2_net
- apiml_shared
volumes:
- /api-defs:/api-defs # Update to an existing local directory
container_name: apiml-2
environment:
- APIML_SECURITY_AUTH_PROVIDER=saf
- APIML_SERVICE_HOSTNAME=apiml-2
- APIML_DISCOVERY_ALLPEERSURLS=https://apiml:10011/eureka,https://apiml-2:10011/eureka
- logbackService=ZWEAGW2
mock-services:
image: ghcr.io/zowe/mock-services:latest
networks:
- apiml_net
container_name: mock-services
environment:
- APIML_SERVICE_HOSTNAME=mock-services
- APIML_SERVICE_DISCOVERYSERVICEURLS=https://apiml:10011/eureka,https://apiml-2:10011/eureka
networks:
apiml_net:
driver: bridge
apiml2_net:
driver: bridge
apiml_shared:
driver: bridge