$SAIKU_HOME is set toINSTANCEDIR/saiku/data/saiku_license.lichttp://container-url/upload.html/additionalCubes)/additionalCubes)generate an license and provide it to the docker-container
use the file docker-compose.yml
version: '2'
services:
saiku:
image: gaerfield/saiku
ports:
- 10040:8080
volumes:
# mounts used only for bootstraping (containers first creation)
- ./config/saiku_license.lic:/saiku_license.lic
- ./config/cubes:/additionalCubes
- ./config/bootstrapScripts:/docker-entrypoint-initdb.d
# used for persistence (overwritten when bootstrapping!)
- ./data/saiku:/saiku/data/
docker-compose up -d and you're done
I don't know about a compatible way of doing that. The binary release of ships it's own version of tomcat, which is somewhat suspicious. Also custom startup-scripts are used. So for backwards-compatibility it's maybe best to use, what's shipped by saiku.
Normally on could to that through the setenv.sh-file or additional Java-Arguments. For Saiku this is not the case. Saiku ships with a custom startup-script, which sets the java-arguments hardcoded. For a backwards-compatible approach, I would:
$SAIKU_HOME/start-saiku.sh (per default /saiku/start-saiku.sh)docker-entrypoint-initdb.d that does some sed-magic to replace the arguments within the startup-script (beware of the fact, that this script is only executed once)docker-entrypoint-initdb.d - folder?sh-Files within the folder get's executed in alphabetical order during bootstrap (the first time, the container starts up) before Saiku is started. Use it for example to download an additional library that is needed for running saiku (i.e. the mysql-connector-library gets downloaded by the example-script in installMysqlLib.sh).
Content type
Image
Digest
Size
301.8 MB
Last updated
almost 8 years ago
docker pull gaerfield/saiku