English ( 日本語 )
iPLAss is a java-based enterprise class low-code web development platform, which have been focused on boosting the productivity of system development.
MVC based framework with non-programming development mechanism ensure both Productivity and Customizability.
iPLAss's docker image for the Web server bundled with Tomcat.
To have it run in practice, the supported Database and corresponding JDBC driver is required.
/var/lib/iplass (IPLASS_HOME)
The home directory for iPLAss, where the definition file and JDBC driver suppose to be placed at.
-
Create the mount directory for IPLASS_HOME. Please also host the mount directory.
-
Install JDBC driver At the hosting mount directory created above, create directory named
jdbc, and place the corresponding JDBC driver's jar file tojdbcdirectory.
If you are using 3.1.40 or later or 3.2.15 or later versions, you can use the included JDBC driver or set the environment variable IPLASS_DOWNLOAD_URL_JDBC_DRIVER to download it when the container is first started.
There are two ways to boot up, the "direct booting" and the "installer booting".
"direct booting" is the way of boot up to utilize existed iPLAss database and service-config file without using the installer.
Place the service-config file: 'iplass-service-config.xml' to the hosting mount directory.
If there does not exist such a service-config file, then the "installer booting" should be chosen.
※If the user want to rename the service-config file other than "iplass-service-config.xml", then it is necessary to specify it by Java's system property 'mtp.config'.
Example: if the service-config file is renamed to my-service-config.xml and is placed at IPLASS_HOME/conf.
docker run -e CATALINA_OPTS='-Dmtp.config=$IPLASS_HOME/conf/my-service-config.xml' ・・・
If you are using 3.1.36 or later or 3.2.11 or later versions, the following environment variables are available.
If a reverse proxy is applied to your environment, please change the proxy-related settings accordingly.
TOMCAT_CONNECTOR_HTTP_PORT
default value:8080
Set theportattribute of the http connector element in ${CATALINA_HOME}/conf/server.xml.TOMCAT_CONNECTOR_HTTP_CONNECTION_TIMEOUT
default value:20000
Set theconnectionTimeoutattribute of the http connector element in ${CATALINA_HOME}/conf/server.xml.TOMCAT_CONNECTOR_HTTP_REDIRECT_PORT
default value:8443
Set theredirectPortattribute of the http connector element in ${CATALINA_HOME}/conf/server.xml.TOMCAT_CONNECTOR_HTTP_MAX_PARAMETER_COUNT
default value:1000
Set themaxParameterCountattribute of the http connector element in ${CATALINA_HOME}/conf/server.xml.TOMCAT_CONNECTOR_HTTP_PROXY_NAME
default value: none
Set theproxyNameattribute of the http connector element in ${CATALINA_HOME}/conf/server.xml.TOMCAT_CONNECTOR_HTTP_PROXY_PORT
default value: none
Set theproxyPortattribute of the http connector element in ${CATALINA_HOME}/conf/server.xml.TOMCAT_CONNECTOR_HTTP_SCHEME
default value:http
Set theschemeattribute of the http connector element in ${CATALINA_HOME}/conf/server.xml.TOMCAT_CONNECTOR_HTTP_SECURE
default value:false
Set thesecureattribute of the http connector element in ${CATALINA_HOME}/conf/server.xml.
If you are using 3.1.40 or later or 3.2.15 or later versions, the following environment variables are available.
You can specify the iPLAss configuration file URL and the JDBC driver download URL to be used in the initial configuration.
IPLASS_DOWNLOAD_URL_JDBC_DRIVER
default value: none
When the container is launched for the first time, the JDBC driver is downloaded from the specified URL.IPLASS_DOWNLOAD_URL_CONFIG_ZIP
default value: none
When the container is started for the first time, a ZIP compressed file of iPLAss configuration information is downloaded from the specified URL and extracted to the IPLASS_HOME directory.
for 3.0.10 or older versions, it is necessary to specify the following environment variables in command lines.
-
IPLASS_DB_TYPE (required)
Specify the type of the Database.
Please specify one of the following Database- 'MySQL'
Use this command when using 'MySQL'. - 'Oracle_EE_11g'
Use this command when using 'Oracle Database 11g'. - 'Oracle_EE_12c'
Use this command when using 'Oracle Database 12c'. - 'Oracle_SE_ONE'
Use this command when using 'Oracle Database Standard Edition'. - 'PostgreSQL'
Use this command when using 'PostgreSQL'. - 'SQLServer'
Use this command when using 'Microsoft SQL Server'.
- 'MySQL'
-
IPLASS_DB_CONN (required)
Specify the method of connection to the Database.
The method of connection to the Database can be one of the followings. It is recommended to use 'DataSource'.- 'DataSource'
Use this command when using 'DataSource' as the method of connection. - 'DriverManager'
Use this command when using 'DriverManager' as the method of connection.
- 'DataSource'
-
IPLASS_DS_NAME (only required when DataSource was specified above)
Declare the name of the DataSource. -
IPLASS_JDBC_DRIVER_CLASS (optional)
Specify the JDBC class name.
If not specified, the corresponding JDBC class is chosen based on the given Database. -
IPLASS_JDBC_HOST (required)
Specify the host name or IP address of the Database. -
IPLASS_JDBC_PORT (optional)
Specify the port number for the Database.
If not specified, the default port is set based on the given Database. -
IPLASS_JDBC_SERVICE_NAME (only required when Oracle was specified above)
specify the service name of the Database. -
IPLASS_JDBC_URL (optional)
Specify the JDBC's connection URL.
If not specified, the default URL is chosen based on the given Database. -
IPLASS_JDBC_USER (required)
Specify the database user's username for iPLAss. -
IPLASS_JDBC_PASSWORD (required)
Specify the database user's password for iPLAss.
"installer booting" is the way of booting when it is the first time to use iPLAss.
The installer page will be presented at first access.
"installer booting" does not require any preparation and environment variables.
docker run -p 8080:8080 -v [IPLASS_HOME's mount directory]:/var/lib/iplass ghcr.io/iplass/iplass
Once the container was initiated, please access the following URL at your web browser.
- for direct booting
http://localhost:8080/iplass/[TenantName]/gem/ - for installer booting
http://localhost:8080/iplass
日本語 ( English )
iPLAssとは、エンタープライズクラスのシステム開発における生産性向上を主目的とした、javaベースの開発プラットフォームです。
MVCパターンベースの開発フレームワーク上にノンプログラミングでの開発を可能とする機能を提供し、高い生産性とカスタマイズ性を両立させます。
WebサーバにTomcatをバンドルしたiPLAssのDockerイメージです。
動作には別途iPLAssに対応したデータベースとJDBCドライバが必要です。
/var/lib/iplass (IPLASS_HOME)
iPLAssのホームディレクトリです。定義ファイルやJDBCドライバなどを配置します。
-
IPLASS_HOMEのマウントディレクトリ作成
IPLASS_HOMEにマウントするディレクトリをホストに作成してください。 -
JDBCドライバのインストール
ホストに作成したIPLASS_HOMEのマウントディレクトリにjdbcディレクトリを作成し、使用するデータベースのJDBCドライバのJARファイルをjdbcディレクトリに配置してください。
3.1.40 以降、3.2.15 以降のバージョンを利用している場合は、同梱済みの JDBC ドライバを利用もしくは、環境変数 IPLASS_DOWNLOAD_URL_JDBC_DRIVER を設定しコンテナ初回起動時にダウンロードすることも可能です。
起動には「ダイレクト起動」と「インストーラ起動」の二通りの方式があります。
「ダイレクト起動」は既存のiPLAssデータベースとservice-configファイルを使用しインストーラを介さずにダイレクトに起動する方式です。
ホストに作成したIPLASS_HOMEのマウントディレクトリにservice-configファイル「iplass-service-config.xml」を配置してください。
service-configファイルが存在しない場合は「インストーラ起動」となります。
※service-configファイルのファイル名をiplass-service-config.xml以外とする場合はJavaのシステムプロパティmtp.configによる指定が必要です。
指定例:service-configファイルのファイル名をmy-service-config.xmlとしてIPLASS_HOME/confに配置する場合
docker run -e CATALINA_OPTS='-Dmtp.config=$IPLASS_HOME/conf/my-service-config.xml' ・・・
3.1.36 以降、3.2.11 以降のバージョンを利用している場合は、以下の環境変数を利用することが可能です。
リバースプロキシが適用されている環境の場合はプロキシに関連する設定を適宜変更ください。
TOMCAT_CONNECTOR_HTTP_PORT
デフォルト値:8080
${CATALINA_HOME}/conf/server.xml の http connector 要素のport属性を設定します。TOMCAT_CONNECTOR_HTTP_CONNECTION_TIMEOUT
デフォルト値:20000
${CATALINA_HOME}/conf/server.xml の http connector 要素のconnectionTimeout属性を設定します。TOMCAT_CONNECTOR_HTTP_REDIRECT_PORT
デフォルト値:8443
${CATALINA_HOME}/conf/server.xml の http connector 要素のredirectPort属性を設定します。TOMCAT_CONNECTOR_HTTP_MAX_PARAMETER_COUNT
デフォルト値:1000
${CATALINA_HOME}/conf/server.xml の http connector 要素のmaxParameterCount属性を設定します。TOMCAT_CONNECTOR_HTTP_PROXY_NAME
デフォルト値: 無し
${CATALINA_HOME}/conf/server.xml の http connector 要素のproxyName属性を設定します。TOMCAT_CONNECTOR_HTTP_PROXY_PORT
デフォルト値: 無し
${CATALINA_HOME}/conf/server.xml の http connector 要素のproxyPort属性を設定します。TOMCAT_CONNECTOR_HTTP_SCHEME
デフォルト値:http
${CATALINA_HOME}/conf/server.xml の http connector 要素のscheme属性を設定します。TOMCAT_CONNECTOR_HTTP_SECURE
デフォルト値:false
${CATALINA_HOME}/conf/server.xml の http connector 要素のsecure属性を設定します。
3.1.40 以降、3.2.15 以降のバージョンを利用している場合は、以下の環境変数を利用することが可能です。
コンテナ初回起動時に利用する iPLAss の設定ファイルURLおよび、JDBCドライバダウンロードURLを指定可能です。
IPLASS_DOWNLOAD_URL_JDBC_DRIVER
デフォルト値: 無し
コンテナ初回起動時に、指定された URL から JDBC ドライバをダウンロードします。IPLASS_DOWNLOAD_URL_CONFIG_ZIP
デフォルト値: 無し
コンテナ初回起動時に、指定された URL から iPLAss 設定情報の ZIP 圧縮ファイルをダウンロードし、IPLASS_HOME ディレクトリへ展開します。
3.0.10以前を利用の場合は、起動コマンドに以下の環境変数の指定が必要です。
-
IPLASS_DB_TYPE (必須)
データベースの種類を指定します。
データベースの種類は以下のいずれかを指定してください。- 'MySQL'
「MySQL」を使用する場合に指定します。 - 'Oracle_EE_11g'
「Oracle Database 11g」を使用する場合に指定します。 - 'Oracle_EE_12c'
「Oracle Database 12c」を使用する場合に指定します。 - 'Oracle_SE_ONE'
「Oracle Database Standard Edition」を使用する場合に指定します。 - 'PostgreSQL'
「PostgreSQL」を使用する場合に指定します。 - 'SQLServer'
「Microsoft SQL Server」を使用する場合に指定します。
- 'MySQL'
-
IPLASS_DB_CONN (必須)
データベースの接続方式を指定します。
データベースの接続方式は以下のいずれかを指定します。接続方式は'DataSource'を推奨します。- 'DataSource'
データソースを使用して接続する場合に指定します。 - 'DriverManager'
ドライバマネージャを使用して接続する場合に指定します。
- 'DataSource'
-
IPLASS_DS_NAME (データベースの接続方式が'DataSource'の場合にのみ必須)
データソース名を指定します。 -
IPLASS_JDBC_DRIVER_CLASS (任意)
JDBCドライバのクラス名を指定します。
省略時は指定されたデータベースの種類により自動的に設定されます。 -
IPLASS_JDBC_HOST (必須)
データベースのホスト名またはIPアドレスを指定します。 -
IPLASS_JDBC_PORT (任意)
データベースのポート番号を指定します。
省略時は設定されたデータベースの種類により自動的に設定されます。 -
IPLASS_JDBC_SERVICE_NAME (データベースの種類がOracleの場合にのみ必須)
データベースのサービス名を指定します。 -
IPLASS_JDBC_URL (任意)
JDBCの接続URLを指定します。
省略時は設定されたデータベースの種類により自動的に設定されます。 -
IPLASS_JDBC_USER (必須)
iPLAssのデータベースユーザのユーザ名を指定します。 -
IPLASS_JDBC_PASSWORD (必須)
iPLAssのデータベースユーザのパスワードを指定します。
「インストーラ起動」は新規にiPLAssを使用する場合の起動方式です。
初回アクセス時にiPLAssのインストーラ画面が表示されます。
「インストーラ起動」では特別な起動準備や環境変数の指定は必要ありません。
docker run -p 8080:8080 -v [IPLASS_HOMEのマウントディレクトリ]:/var/lib/iplass ghcr.io/iplass/iplass
コンテナ起動後、Webブラウザで次のURLにアクセスしてください。
- ダイレクト起動の場合
http://localhost:8080/iplass/[テナント名]/gem/ - インストーラ起動の場合
http://localhost:8080/iplass