This guide will show you how to make changes to the KOP configuration.
Contents:
Configuration changes to KOP (web app) and WidlFly
- How to make changes in the KOP configuration?
- Within the KOP container, edit configuration files located under $(KIUWAN_VOL)/deployconfig/kiuwan
- Deploy Kiuwan (see below point #3)
- How to make changes in the Wildfly configuration?
- Within the KOP container, edit configuration files located under $(KIUWAN_VOL)/deployconfig/wildfly
- Deploy Kiuwan (see below point #3)
- How to deploy Kiuwan (after configuration changes)?
- Within the docker server:
cd <KIUWAN_VOL>/koptools (KIUWAN_VOL as set in settings.custom)
./redeployKiuwan.sh
- Within the docker server:
Configuration changes to MySQL, Redis, and sshd
- Can I make changes to the configuration of MySQL, Redis, and SSHD?
- Yes, you can (although Kiuwan Docker is presumably configured to suit your needs)
- Changes can only be done within the Docker container
- To change the MySQL configuration
- supervisorctl stop wildfly
- supervisorctl stop mysql
- edit mysqld.cnf located at <KIUWAN_VOL>/configurations/etc/mysql/mysql.conf.d
- supervisorctl start mysql
- supervisorctl start wildfly
- To change the Redis configuration
- supervisorctl stop wildfly
- supervisorctl stop redis
- edit redis.conf located at <KIUWAN_VOL>/configurations/etc/redis
- supervisorctl start redis
- supervisorctl start wildfly
- To change the SSHD configuration
- after making any change to sshd configuration, you must persist docker image :
- logout from the container and log in to docker server
- execute: commit <kop docker name> <kop docker image>
- NOTE: run 'docker ps' to get NAMES and IMAGE values of your KOP container
- after making any change to sshd configuration, you must persist docker image :
Related articles