For the complete documentation index, see llms.txt. This page is also available as Markdown.

Install on Docker Desktop

This guide runs GRAX and its database on your own computer with Docker Desktop, for trials and testing. Backed-up data goes to a cloud storage bucket that you connect once GRAX is running.

1

Set Up Docker Desktop

Download, install, and run Docker Desktop. GRAX runs natively on both Intel and Apple Silicon machines.

2

Get a Registration Key

Sign into the GRAX Platform and go to "Deployments," then "New deployment," then "GRAX for Docker Desktop." Select "Continue with Docker Desktop," then "Create registration key."

Open the new deployment and use "Copy registration key" to copy it. This key can only be activated once.

If "GRAX for Docker Desktop" isn't listed, contact GRAX Support to enable it for your team.

3

Download and Configure GRAX Docker Compose Files

Download GRAX Docker Compose Files, unzip them, and create a settings file from the included example:

curl -L -o docker.zip https://s3.amazonaws.com/grax-public-templates/master/docker/docker.zip
unzip docker.zip
cd stacks/docker/grax
cp .env.example .env

Fill in every value in .env:

  • GRAX_REGISTRATION_KEY: the key from GRAX Platform.

  • SECRET_STORE_BASE: a long random string, such as the output of openssl rand -hex 32. GRAX encrypts the credentials it stores with this value, so keep a copy somewhere safe; they can't be read without it.

  • ADMIN_PASSWORD: the password for the local admin sign-in.

4

Start Up GRAX with Docker Compose

docker compose up -d

The first run downloads and builds everything, which takes a few minutes. GRAX is ready once docker compose ps shows it as healthy.

Use "Open GRAX" on your deployment in GRAX Platform, or go to https://localhost:8000 and sign in as admin with your ADMIN_PASSWORD. Your browser warns about the self-signed certificate on the local address.

5

Connect Storage

Before backing anything up, connect a storage bucket in GRAX's storage settings.

Pausing and Resuming

Pause GRAX with:

docker compose stop

Resume with docker compose start.

Resetting Everything

From the stacks/docker/grax directory, remove GRAX's containers, data, and image with:

docker compose down --volumes --rmi local

Then, sign into the GRAX Platform, open your deployment, and use "Destroy deployment" to delete it and its registration key.

Last updated

Was this helpful?