This repository has been archived by the owner on Oct 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
122 lines (122 loc) · 4.9 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#########################################################################################
# #
# This program and the accompanying materials are made available under the terms of the #
# Eclipse Public License v2.0 which accompanies this distribution, and is available at #
# https://www.eclipse.org/legal/epl-v20.html #
# #
# SPDX-License-Identifier: EPL-2.0 #
# #
# Copyright IBM Corporation 2020, 2021 #
# #
#########################################################################################
version: "3"
services:
discovery-service:
restart: always
hostname: discovery-service
build:
dockerfile: Dockerfile.discovery
context: ./build/apiml/
command:
[
"--spring.config.additional-location=file:/app/discovery-service.yml",
"--spring.profiles.active=https",
]
ports:
- "10011:10011"
volumes:
- ./docker/apiml/discovery-service.yml:/app/discovery-service.yml
- ./certificates/discovery-service/keystore.p12:/app/tls/mounted-keystore/keystore.p12
- ./certificates/truststore.p12:/app/tls/mounted-truststore/truststore.p12
- ./certificates/ca/ca.crt:/app/tls/mounted-keystore/ca.crt
- ./docker/apiml/api-defs:/app/config/api-defs
gateway-service:
restart: always
hostname: gateway-service
build:
dockerfile: Dockerfile.gateway
context: ./build/apiml/
command:
[
"--spring.config.additional-location=file:/app/gateway-service.yml",
]
ports:
- "10010:10010"
volumes:
- ./docker/apiml/gateway-service.yml:/app/gateway-service.yml
- ./certificates/gateway-service/keystore.p12:/app/tls/mounted-keystore/keystore.p12
- ./certificates/truststore.p12:/app/tls/mounted-truststore/truststore.p12
- ./certificates/ca/ca.crt:/app/tls/mounted-keystore/ca.crt
api-catalog-service:
restart: always
hostname: api-catalog-service
build:
dockerfile: Dockerfile.catalog
context: ./build/apiml/
command:
[
"--spring.config.additional-location=file:/app/api-catalog-service.yml",
]
ports:
- "10014:10014"
volumes:
- ./docker/apiml/api-catalog-service.yml:/app/api-catalog-service.yml
- ./certificates/api-catalog-service/keystore.p12:/app/tls/mounted-keystore/keystore.p12
- ./certificates/truststore.p12:/app/tls/mounted-truststore/truststore.p12
- ./certificates/ca/ca.crt:/app/tls/mounted-keystore/ca.crt
zlux-app-server:
environment:
ZWED_agent_host: zss.mymainframe.com
ZWED_agent_http_ipAddresses: "1.2.3.4"
ZWED_agent_http_port: 8542
ZWED_node_https_keys: "/tls/tls.key,"
ZWED_node_https_certificates: "/tls/tls.crt,"
ZWED_node_https_certificateAuthorities: "/tls/ca.crt,"
restart: "no" #always
hostname: zlux-app-server
build:
dockerfile: Dockerfile.zlux
context: ./build/zlux
ports:
- "8544:8544"
volumes:
- dropins-volume:/dropins
- instance-volume:/root/.zowe
- ./certificates/zlux-app-server/tls.key:/tls/tls.key
- ./certificates/zlux-app-server/tls.crt:/tls/tls.crt
- ./certificates/ca/ca.crt:/tls/ca.crt
zss-auth-plugin:
restart: "no"
hostname: zss-auth-plugin
build:
dockerfile: Dockerfile.zssauth
context: ./build/zlux
volumes:
- dropins-volume:/dropins
zlux-editor-plugin:
restart: "no"
hostname: zlux-editor-plugin
build:
dockerfile: Dockerfile.editor
context: ./build/zlux
volumes:
- dropins-volume:/dropins
zlux-tn3270-plugin:
restart: "no"
hostname: zlux-tn3270-plugin
build:
dockerfile: Dockerfile.tn3270
context: ./build/zlux
volumes:
- dropins-volume:/dropins
zlux-vt-plugin:
restart: "no"
hostname: zlux-vt-plugin
build:
dockerfile: Dockerfile.vt
context: ./build/zlux
volumes:
- dropins-volume:/dropins
volumes:
dropins-volume:
instance-volume: