Public Repository

Last pushed: 2 days ago
Short Description
webSpoon is a web-based Spoon, an graphical designer for Pentaho Data Integration.
Full Description

Basic usage

Without plugins

$ docker run -d -p 8080:8080 hiromuhota/webspoon:latest

With plugins

$ docker run -d -p 8080:8080 hiromuhota/webspoon:latest-full

In either case, please access http://ip-address:8080/spoon/spoon.

Advanced usage

Java heap size

The Java heap size is configured as -Xms1024m -Xmx2048m by default, but can be overridden as -Xms1024m -Xmx1920m for example when a server has only 2GB of memory.

$ docker run -e JAVA_OPTS="-Xms1024m -Xmx1920m" -d -p 8080:8080 hiromuhota/webspoon:latest-full

User config and data persistence/share

If the configuration files should be shared among containers, add -v kettle:/root/.kettle -v pentaho:/root/.pentaho as

$ docker run -d -p 8080:8080 -v kettle:/root/.kettle -v pentaho:/root/.pentaho hiromuhota/webspoon:latest-full

or execute the following docker-compose command

$ docker-compose up -d

webSpoon config

From, spoon.war is pre-extracted at $CATALINA_HOME/webapps/spoon so that configs such as web.xml can be configured at run-time using a bind mount.
If you want to enable user authentication, for example, download web.xml and edit it as described here.
Then add -v $(pwd)/web.xml:/usr/local/tomcat/webapps/spoon/WEB-INF/web.xml to the command.

$ docker run -d -p 8080:8080 -v $(pwd)/web.xml:/usr/local/tomcat/webapps/spoon/WEB-INF/web.xml hiromuhota/webspoon:lastest-full

Similarly, $CATALINA_HOME/webapps/spoon/WEB-INF/spring/security.xml can be configured at run-time.

Security manager

To enable the custom security manager, enable user authentication and add -e CATALINA_OPTS="" to the run command.

$ docker run -d -p 8080:8080 -e CATALINA_OPTS="" -v $(pwd)/web.xml:/usr/local/tomcat/webapps/spoon/WEB-INF/web.xml hiromuhota/webspoon:latest-full


$ docker run -e JAVA_OPTS="-Xms1024m -Xmx2048m" -e JPDA_ADDRESS=8000 -d -p 8080:8080 -p 8000:8000 hiromuhota/webspoon:latest-full jpda run
Docker Pull Command