Skip to content

FAQ & Examples

KeyStore / TrustStore

  • Either extend the image or bring the files via volumes into your running container
  • Use the CATALINA_OPTS environment variable to configure Wildfly to use your store

Example:

environment:
 - CATALINA_OPTS=-Djavax.net.ssl.trustStore=standalone/configuration/truststore.jks -Djavax.net.ssl.trustStorePassword=insight
volumes:
 - ./src/wildfly/configuration/truststore.jks:/opt/jboss/wildfly/standalone/configuration/truststore.jks

insight.properties for middleware configuration

To (pre-)configure your container you can bring in your own configuration file.

1) Extract existing file: /opt/jboss/wildfly/standalone/configuration/insight.properties

2) Add or change properties as described in the "Insight Configuration" section of this document

3) Extend the image with the new file or use a volume definition

Example:

volumes:
 - ./src/wildfly/configuration/insight.properties:/opt/jboss/wildfly/standalone/configuration/insight.properties

Beware to not simply override existing files and their default settings!