...
ワークステーションに、Yellowfinのフルアプリケーションインストーラーバージョンをインストールします (これは、コンテナがリポジトリデータベースを使用できるようにするための一時的なものです)。
このインストールからweb.xml ファイルをコピーし、バックアップとして任意の場所に保存します (これは、Yellowfin リポジトリデータベースに接続するために必要なYellowfin 認証情報の参照として機能します)。
Dockerが実行されていることを確認します。
次のテキストをコピーし、任意のテキストエディターに貼り付けます。
Code Block |
---|
|
version: '3'
services:
yellowfin-multi-instance-prod:
ports:
- "8080:8080" # Maps Yellowfin running on port 8080 to the host's port 8080 environment:
# Required environment variables
- JDBC_CLASS_NAME=INSERT_DATABASE_TYPE_1_HERE # Database driver class name
- JDBC_CONN_URL=jdbc:INSERT_JDBC_CONNECTION_STRING_1_HERE # Database connection string
- JDBC_CONN_USER=INSERT_DATABASE_USER_1_HERE # Username to use when accessing the database
- JDBC_CONN_PASS=INSERT_JDBC_PASSWORD_1_HERE # Password for the database user
- JDBC_CONN_ENCRYPTED=true # Flag for indicating if the database user's password supplied is encrypted or not.
- APP_MEMORY=8192 # The amount of memory in megabytes to assign to the Yellowfin Application.
image: "yellowfinbi/yellowfin-app-only:<RELEASE_VERSION_GOES_HERE>" # Path to the app-only image of Yellowfin
yellowfin-multi-instance-dev:
ports:
- "8090:8080" # Maps Yellowfin running on port 8090 to the host's port 8080
environment:
# Required environment variables
- JDBC_CLASS_NAME=INSERT_DATABASE_TYPE_2_HERE # Database driver class name
- JDBC_CONN_URL=jdbc:INSERT_JDBC_CONNECTION_STRING_2_HERE # Database connection string
- JDBC_CONN_USER=INSERT_DATABASE_USER_2_HERE # Username to use when accessing the database
- JDBC_CONN_PASS=INSERT_JDBC_PASSWORD_2_HERE # Password for the database user
- JDBC_CONN_ENCRYPTED=true # Flag for indicating if the database user's password supplied is encrypted or not.
- APP_MEMORY=4096 # The amount of memory in megabytes to assign to the Yellowfin Application.
image: "yellowfinbi/yellowfin-app-only:<RELEASE_VERSION_GOES_HERE>" # Path to the app-only image of Yellowfin |
上記テキストを確認し、各コンテナにおいて環境変数プレースホルダーを独自の設定詳細に置き換えます (これらは、Yellowfin インストールのweb.xml ファイルにあります)。こちらは、PostgreSQL インスタンスに接続するための例です。
Code Block |
---|
|
# Required environment variables
- JDBC_CLASS_NAME=org.postgresql.Driver # Database driver class name
- JDBC_CONN_URL=jdbc:postgresql://192.168.1.50/docker_multiple_yellowfin _instances # Database connection string
- JDBC_CONN_USER=postgres # Username to use when accessing the database
- JDBC_CONN_PASS=bXF0oj5gnB1oRB1kZq5 # Password for the database user
- JDBC_CONN_ENCRYPTED=true # Flag for indicating if the database user's password supplied is encrypted or not.
- APP_MEMORY=4096 # The amount of memory in megabytes to assign to the Yellowfin Application.
image: "yellowfinbi/yellowfin-app-only:9.6.0" # Path to the app-only image of Yellowfin |
テキストをyellowfin-multiple-instances.ymlと呼ばれるYAML ファイルに保存します。
Yellowfinを導入するためにターミナルから次のコマンドを実行し、バックグラウンドで実行します。
docker-compose up -d -f yellowfin-multiple-instances.yml
ホストURLを8080ポート (または、設定した他のすべてのポート)で入力し 、Yellowfinを起動します。
Yellowfinがコンテナから実行されていること、およびログインできることを確認します (これにより、ログイン認証情報が正しいことが確認されるので、Yellowfinのワークステーションインスタンスを安全に削除することができます)。
フォルダーを削除して、Yellowfinのワークステーションインスタンスを削除します。
...
項目ナビゲーション
現在のトピック - コンテナ環境へのインストール
本ページはコンテナ環境へのインストール項目の一部であり、DockerおよびKubernetesそれぞれの項目には、以下のページが含まれます。
Docker
Column |
---|
|
Child pages (Children Display) |
---|
|
|
Kubernetes
Column |
---|
|
Child pages (Children Display) |
---|
|
|
本ページはYellowfinのインストールおよび導入項目の一部であり、以下のトピックを含みます。
オンプレミス環境へのインストール
オンプレミス環境へのインストール
Column |
---|
|
Child pages (Children Display) |
---|
|
|
クラウド環境へのインストール
クラウド環境へのインストール
Column |
---|
|
Child pages (Children Display) |
---|
|
|
コンテナ環境へのインストール
コンテナ環境へのインストール
Column |
---|
|
Child pages (Children Display) |
---|
|
|
Yellowfinの導入
Yellowfinの導入
Column |
---|
|
Child pages (Children Display) |
---|
|
|
高度な導入
高度な導入
Column |
---|
|
Child pages (Children Display) |
---|
|
|