Sign inSign up

xqual/xstudio-tomcat

By xqual

Updated 18 days ago

Tomcat server

Image
0

7.1K

xqual/xstudio-tomcat repository overview

Goal

This Docker image runs the core system of the XStudio server. This server includes a servlet container (Tomcat) listening on port 8080 in HTTP (and optionally on port 8443 in HTTPS if you provide an optional certificate).

The server will expose interface for:

  • the web client XStudio.web
  • the JNLP client XStudio
  • the XStudio add'on for JIRA
  • the REST API server

Tag

The tag (i.e. "6beta4") represents the version of XStudio installed. Please refer to https://www.xqual.com/documentation/install/install_xstudio_docker.html#Versions to use a version compatible with the xqual/xstudio-mariadb image's version.

Parameters

The docker needs a few parameters to be customized with your own preferences:

ParameterDescriptionExample
MYSQL_DATABASEName of the database that will host XStudio's dataxstudiodb
MYSQL_USERName of the MariaDB account that XStudio will usexstudio
MYSQL_PASSWORD_ENCRYPTEDEncrypted password of the MariaDB account that XStudio will use. You can encrypt a clear password using our REST API service, however we advise to start with the default value which is 560B599C2331BE79C3ADD6621DBE8BDC which corresponds to the user xstudio with clear password xstudiopwd)-
SERVER_NAMEName of the serverxstudio-prod1.acme.com
SERVER_PROTOCOLProtocol to connect to the serverhttp (or https if you provide a SSL certificate)
SERVER_PORTPort to connect to the server8080 (or 8443 if you provide a SSL certificate)
LICENSE_KEY (opt.)The license key you purchased from us. If you do not provide a license key, the server will stay in community version with all its limitations-
CUSTOMER_REPOSITORY (opt.)A URL where you can store your custom visuals and/or SSL certificatehttp://acme-server.com/docker
CUSTOMER_INSTANCE_NAME (opt.)Name of the folder on the customer repository that will store the custom visuals and/or SSL certificateacme_prod_1
SSL_KEYSTORE_ALIAS (opt.)The alias to use with the Java Keystore containing the certificate for the SSL access1
SSL_KEYSTORE_FILENAME (opt.)The file name of the java Keystore containing the certificate for the SSL accessacme.jks
SSL_KEYSTORE_PASSWORD (opt.)The password to use with the Java Keystore containing the certificate for the SSL accessacmepwd

As you can see, this docker image can take a few optional parameters which are used only if you wish to:

  • Insert a license key
  • Customize the visuals of XStudio with your own logo, icon, splashscreen or title in the header of the application or the reports
  • Expose the XStudio.web URL as HTTPS

Example

Based on the above example values, the image can be run in a container using the command:

docker run --name xstudio-tomcat-container
-e MYSQL_DATABASE=xstudio_db
-e MYSQL_USER=xstudio
-e MYSQL_PASSWORD_ENCRYPTED=560B599C2331BE79C3ADD6621DBE8BDC
-e SERVER_NAME=xstudio-prod1.acme.com
-e SERVER_PROTOCOL=http
-e SERVER_PORT=8080
-e LICENSE_KEY=<license_key>
-e CUSTOMER_REPOSITORY=http://acme-server.com/docker
-e CUSTOMER_INSTANCE_NAME=acme_prod_1
-e SSL_KEYSTORE_ALIAS=1
-e SSL_KEYSTORE_FILENAME=acme.jks
-e SSL_KEYSTORE_PASSWORD=acmepwd
xqual/xstudio-tomcat:6beta4

Visuals and SSL certificate

If you wish to customize your XStudio instance with some custom visuals and a SSL certificate, your repository must be accessible from the docker image. Based on the above example, the repository should serve the files this way:

You can include only the visuals you are interested in.

Here is a description of each files your repository can host:

FilenameDescriptionRequirements
icon.pngWill be used as the JNLP client's iconPNG file with a dimension 16x16 pixels
logo.pngWill be used for instance in the header of the paper reportsPNG file with a dimension preferably not exceeding 300x300 pixels
splashscreen.pngWill be used as splashscreen of the JNLP clientPNG file with a dimension preferably not exceeding 700x700 pixels
custom.app_title.txtWill be used as application title in the JNLP client's headerText file containing only a one-line text (do NOT add a new line feed at the end)
custom.report.docx_header.txtWill be used in the header of the .docx paper reportsText file containing only a one-line text (do NOT add a new line feed at the end)

Docker-compose

It is not really useful to run this container by itself though. You should use Docker-compose to run it as part as an integrated instance. More details here: https://www.xqual.com/documentation/install/install_xstudio_docker.html

Tag summary

Content type

Image

Digest

sha256:15eb34a66

Size

2.9 GB

Last updated

18 days ago

docker pull xqual/xstudio-tomcat:v15sp2