Getting Started
How to pull and run OmniAI locally
Prerequisites
Ensure you have Docker installed and running on your machine. Follow the Docker documentation.
Ensure you have AWS CLI installed and configured with access to AWS ECR. Follow the AWS documentation.
Authenticate to ECR
Authenticate your Docker client to the AWS ECR registry where the image is hosted. This is a private repository accessible to OmniAI enterprise clients. Please contact a team member to be granted access to the container registry.
Set your access key / secret:
Add the OmniAI access key & secret to your environment and authenticate Docker with ECR.
Alternatively you can run as a single command
Pull the docker image
Pull the image from ECR.
Tagging the image (optional)
Replace the ECR url with the more accessible omniai:latest
tag.
Running OmniAI
Running omniai:latest
will launch the front-end (3000
) and API service (4000
).
On startup OmniAI will create a local Postgres database. Deleting the container will remove any data stored in this instance. See Docker Compose instructions for setting up a persistent volume.
Running with Docker Compose
To run OmniAI with docker compose and persistent storage volume.
Running with Docker Secrets
The following is a Docker Compose example using environment variables via Docker secrets.
The /path/to/DB_URL_SECRET
file should contain only the expected env value. Ex:
Last updated