Contents:
Changes to KOP configuration
KOP Configuration (KOP app and Wildfly)
- How to make changes in 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 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
Configuration changes to MySQL, Redis and sshd
- Can i make changes to configuration of MySQL, Redis and sshd ?
- Yes, you can (although Kiuwan Docker is presumably configured to suite your needs)
- To change 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 Redis configuration
- supervisorctl stop wildfly
- supervisorctl stop redis
- edit redis.conf located at <KIUWAN_VOL>/configurations/etc/redis
- supervisorctl start redis
- supervisorctl start wildfly
- In case you need to change the configuration of any of those services:
- MySQL : edit mysqld.cnf located at <KIUWAN_VOL>/configurations/etc/mysql/mysql.conf.d
- Redis: edit redis.conf located at <KIUWAN_VOL>/configurations/etc/redis
- supervisorctl stop wildfly | mysql
- you must bear in mind that these services' configuration is out of persistent volume ($KIUWAN_VOL). Therefore, those changes will not remain effective after you restart the container.
- In case you need to make persistent those changes , execute the next command within the docker server:
docker commit <container_name> <nimagen:tag>
Within the KOP container:
supervisorctl stop wildfly
/root/kiuwan/deployKiuwan.sh
supervisorctl start wildfly
Related articles