Comment on page
Use Docker Compose
- 4 CPU
- 8 GB memory
- 25 GB storage
- 1.Ubuntu or Debian installation on the box.
- 2.The secrets file provided by Aviator.
- 3.A domain name that can be assigned to the Linux box.
$GITHUB_URL: Hostname where GitHub is hosted
$AV_HOSTNAME: Hostname where Aviator is hosted (e.g.
$GITHUB_APP_ID: ID generated when a GitHub app is created
$MERGEQUEUE_PEM_FILE: Private key generated by GitHub for Aviator
Configure the DNS records so that
$AV_HOSTNAMEpoints to your Linux box. Depending on your DNS, this may take some time to propagate. Make sure the hostname resolves before moving on.
/opt/mergequeue/keysdirectory and copy
$MERGEQUEUE_PEM_FILEthere. The file name must be
$ sudo mkdir -p /opt/mergequeue/keys
$ sudo mv mergequeue.pem /opt/mergequeue/keys/
$ sudo chmod 0644 /opt/mergequeue/keys/mergequeue.pem
aviator.zipfile provided by us, and open
enterprise/install.shin your favorite editor. There are configs around the top of the script. You will need to modify the variables there. Here are some details for each secret value:
Save the file.
Once the configurations above are set, run the install script. This will pull, build and start all the docker containers required for the Aviator service.
At the end of that script, it will run docker-compose up -d to start the containers as detached. You can verify that the containers are running by:
$ sudo docker-compose ps
At this point, you should be able to open
$AV_HOSTNAMEin the browser.
Once the page loads, you can go and register a new account from the following url on the app and follow the instructions.
It will guide you to connect the GitHub Repository with the GitHub app you created. Once authorized, you should see the connected repositories on your Repository page.
Use the same account for all purposes. You can invite other team members to this account from the Account / Users and Roles section.
If the setup above fails, or docker fails to start containers, please reach out to the Aviator team. And share the output of install script along with logs from docker-compose:
$ sudo docker-compose logs