...
ワークステーションに、Yellowfinのフルアプリケーションインストーラーバージョンをインストールします (これは、コンテナがリポジトリデータベースを使用できるようにするための一時的なものです)。
このインストールからweb.xml ファイルをコピーし、バックアップとして任意の場所に保存します (これは、Yellowfin リポジトリデータベースに接続するために必要なYellowfin 認証情報の参照として機能します)。
Dockerが実行されていることを確認します。
次のテキストをコピーし、任意のテキストエディターに貼り付けます。
Code Block theme Eclipse version: '3' services: yellowfin-standalone-single-instance: 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_HERE # Database driver class name - JDBC_CONN_URL=jdbc:INSERT_JDBC_CONNECTION_STRING_HERE # Database connection string - JDBC_CONN_USER=INSERT_DATABASE_USER_HERE # Username to use when accessing the database - JDBC_CONN_PASS=INSERT_JDBC_PASSWORD_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 theme Eclipse # Required environment variables - JDBC_CLASS_NAME=org.postgresql.Driver # Database driver class name - JDBC_CONN_URL=jdbc:postgresql://192.168.1.50/docker_standalone_yellowfin_single_instance # 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-single-instance.ymlと呼ばれるYAML ファイルに保存します。
Yellowfinを導入するためにターミナルから次のコマンドを実行し、バックグラウンドで実行します。
docker-compose up -d -f yellowfin-single-instance.ymlホストURLを8080ポートで入力し、Yellowfinを起動します。
Yellowfinがコンテナから実行されていること、およびログインできることを確認します (これにより、ログイン認証情報が正しいことが確認されるので、Yellowfinのワークステーションインスタンスを安全に削除することができます)。
フォルダーを削除して、Yellowfinのワークステーションインスタンスを削除します。
...