30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. ワークステーションに、Yellowfinのフルアプリケーションインストーラーバージョンをインストールします (これは、コンテナがリポジトリデータベースを使用できるようにするための一時的なものです)。

  2. このインストールからweb.xml ファイルをコピーし、バックアップとして任意の場所に保存します (これは、Yellowfin リポジトリデータベースに接続するために必要なYellowfin 認証情報の参照として機能します)。

  3. DockerがSwarmモードで実行されていることを確認します。

  4. 次のテキストをコピーし、任意のテキストエディターに貼り付けます。

    Code Block
    themeEclipse
    version: '3'
    services:
      yellowfin-instance:
       ports:
          - "8080:8080" # Maps Yellowfin running on port 8080 to Docker Swarm port 8080
       deploy:
          replicas: 1
       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


  5. 上記テキストを確認し、環境変数プレースホルダーを独自の設定詳細に置き換えます (これらは、ローカルYellowfin これらは、Yellowfin インストールのweb.xml ファイルにあります)。こちらは、PostgreSQL インスタンスに接続するための例です (接続用にサンプルIPアドレスを使用しています)。

    Code Block
    themeEclipse
       # Required environment variables
       - JDBC_CLASS_NAME=org.postgresql.Driver # Database driver class name
       - JDBC_CONN_URL=jdbc:postgresql://192.168.1.50/docker_swarm_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


  6. テキストをyellowfin-single-instance.ymlと呼ばれるYAML ファイルに保存します。

  7. Yellowfinを導入するためにターミナルから次のコマンドを実行し、バックグラウンドで実行します。 
    docker stack deploy --compose-file yellowfin-single-instance.yml yellowfin

  8. ホストURLを8080ポートで入力し、Yellowfinを起動します。

  9. Yellowfinがコンテナから実行されていること、およびログインできることを確認します (これにより、ログイン認証情報が正しいことが確認されるので、Yellowfinのワークステーションインスタンスを安全に削除することができます)。

  10. フォルダーを削除して、Yellowfinのワークステーションインスタンスを削除します。

...