This guide will show you how to make changes to the KOP configuration. 

Contents: 

Configuration changes to KOP (web app) and WidlFly

  1. How to make changes in the KOP configuration?
    1. Within the KOP container, edit configuration files located under $(KIUWAN_VOL)/deployconfig/kiuwan
    2. Deploy Kiuwan (see below point #3)

  2. How to make changes in the Wildfly configuration?
    1. Within the KOP container, edit configuration files located under $(KIUWAN_VOL)/deployconfig/wildfly
    2. Deploy Kiuwan (see below point #3)

  3. How to deploy Kiuwan (after configuration changes)?
    1. Within the docker server:
      1. cd <KIUWAN_VOL>/koptools (KIUWAN_VOL as set in settings.custom)
      2. ./redeployKiuwan.sh

Configuration changes to MySQL, Redis, and sshd

  1. Can I make changes to the configuration of MySQL, Redis, and SSHD?
    1. Yes, you can (although Kiuwan Docker is presumably configured to suit your needs)
    2. Changes can only be done within the Docker container

    3. To change the MySQL configuration
      1. supervisorctl stop wildfly
      2. supervisorctl stop mysql
      3. edit mysqld.cnf located at <KIUWAN_VOL>/configurations/etc/mysql/mysql.conf.d
      4. supervisorctl start mysql
      5. supervisorctl start wildfly

    4. To change the Redis configuration
      1. supervisorctl stop wildfly
      2. supervisorctl stop redis
      3. edit redis.conf located at <KIUWAN_VOL>/configurations/etc/redis
      4. supervisorctl start redis
      5. supervisorctl start wildfly

    5. To change the SSHD configuration
      1. 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