Xray HA Docker Compose Installation

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

First node installation steps:

  1. Extract the contents of the compressed archive and go to the extracted folder.

    .env file included within the Docker-Compose archive

    This .env file is used by docker-compose and is updated during installations and upgrades.

    Notice that some operating systems do not display dot files by default. If you make any changes to the file, remember to backup before an upgrade.

  2. Run the config.sh script to setup folders with required ownership. Note: the script will prompt you with a series of mandatory inputs, including if this is part of a cluster, and configure the needed system.yaml.

  3. Validate and customize the product configuration (optional), including the third party dependencies connection details and ports.

  4. Start and manage Xray using docker-compose commands. Note: Run this command only from the extracted folder.

  5. Access Xray from your browser at:http://<jfrogUrl>/ui/: go to theXray Security & Compliance tab in theAdministration module in the UI

  6. Check the Xray log.

Additional node installation steps:

  1. Extract the contents of the compressed archive and go to the extracted folder.

  2. Run the config.shscript to setup folders with required ownership. Note: the script will prompt you with a series of mandatory inputs, including if this is part of a cluster, and configure the neededsystem.yaml.

  3. Validate and customize the product configuration (optional), including the third party dependencies connection details and ports.

    Docker for Mac

    When you use Docker Compose in Mac, /etc/localtime might not work as expected since it might not be a shared location in the docker-for-mac settings.

    You can remove the following line from the selected docker-compose.yaml file to avoid installation issues.

  4. Start and manage Xray using docker-compose commands.Note:Run this commandonlyfrom the extracted folder.

  5. Access Xray from your browser at:http://<jfrogUrl>/ui/: go to theXray Security & Compliance tab in theAdministration module in the UI

  6. Check the Xray log.