Docker sample files
This section lists samples of the configuration files available in the Beta toolkit and required for building the images.
wa.env sample file
The
wa.env
file is provided in the iwa95_docker_toolkit.zip
file. You must edit it to accept the DB2 license, as explained in Deploying containers with Docker. The wa.env
file
contains the configuration information used to define your HCL Workload Automation environment. If you do not make any
changes to the file, the installation is performed using the default values defined in the
file.####################################################################
# Licensed Materials Property of HCL*
#
# (c) Copyright HCL Technologies Ltd. 2018 All rights reserved.
# * Trademark of HCL Technologies Limited
####################################################################
###################################################################
# UNCOMMENT FOLLOWING LINE IN ORDER TO ACCEPT DB2 EXPRESS LICENSE #
###################################################################
#LICENSE=accept
##################################################################################
# UNCOMMENT FOLLOWING LINE IN ORDER TO ACCEPT IBM WORKLOAD SCHEDULER 9.5 LICENSE #
##################################################################################
#WALICENSE=accept
##################################################################################
# Set these variables to configure the MASTER and DWC servers if you need #
# different values #
##################################################################################
WLP_PASSWORD=iwabeta95
RDBMS_TYPE=DB2
DB_NAME=TWS
DB_ADMIN_USER=db2inst1
DB_ADMIN_PASSWORD=iwabeta95
DB2INST1_PASSWORD=iwabeta95
DB_HOSTNAME=wa-db2
DB_USER=db2inst1
DB_PASSWORD=iwabeta95
#COMPANY_NAME=mycompany # the company name, the default value is mycompany
#IWS_TS_NAME=TWS_DATA # the TWS name space's name, the default value is TWS_DATA
#IWS_TS_PATH=TWS_DATA_PATH # the TWS name space path's name, the default
value is TWS_DATA_PATH
#IWS_LOG_TS_NAME=TWS_LOG # the LOG name space's name, the default value is TWS_LOG
#IWS_LOG_TS_PATH=TWS_LOG_PATH # the LOG name space path's name, the
default value is TWS_LOG_PATH
#IWS_PLAN_TS_NAME=TWS_PLAN # the PLAN name space's name, the
default value is TWS_PLAN
#IWS_PLAN_TS_PATH=TWS_PLAN_PATH # the PLAN name space path's name, the
default value is TWS_PLAN_PATH
Sample docker-compose.yml file
The docker-compose.yml
is provided in the
iwa95_docker_toolkit.zip
file. Use this file to configure services for your
application. After editing the file, you create and start all the services from your configuration
with a single docker -compose up -d
command.
version: '3'
services:
wa-db2:
restart: always
build: ./db_tools
ports:
- "50000:50000" #db2 port
env_file:
- wa.env
container_name: "wa-db2"
command: ['db2start']
volumes:
- db2inst1_home:/home/db2inst1/
wa-server:
env_file:
- wa.env
image: sijr37wamxop504.wa.ibmserviceengage.com/ibm-workload-scheduler-server:9.5.0.00
depends_on:
- wa-db2
restart: always
ports:
- "31114:31114" #DYN AGENT
- "31116:31116" #HTTPS MASTER
- "31111:31111" #FTA
- "33336:33336" #EIF_PORT
container_name: "wa-95"
hostname: wa95
volumes:
- stdlist:/home/wauser/TWA/TWS/stdlist
- wlp-logs:/logs/
wa-dwc:
image: sijr37wamxop504.wa.ibmserviceengage.com/ibm-workload-scheduler-dwc:9.5.0.00
restart: always
ports:
- "9443:9443" #HTTPS DWC
container_name: "dwc-95"
volumes:
- dwc-registry:/opt/wa/DWA/usr/servers/dwcServer/registry
- dwc-wlp-logs:/logs/
volumes:
stdlist:
wlp-logs:
dwc-registry:
dwc-wlp-logs:
db2inst1_home: