Getting Started
Run Oxla on Azure Blob Storage
Over the following steps, we’ll set you up with an Oxla server using the Azure Blob Storage.
Prerequisite
⚠️ Install Docker. Please refer to this page for further details. ⚠️ We recommend you use a Linux OS computer to deploy an Oxla server. ⚠️ Install PostgresSQL-client-14 for psql connection. Please refer to this page.
Installation Steps
- Open your terminal and execute this command to check if you have installed your docker properly:
docker ps
If it returns “Bad response from Docker engine”, this means there is an issue with your docker engine. Try re-install your docker.
- Execute the following command to create a file that contains docker compose file:
vim one_node.yml
- Input the following code into the docker compose file:
version: '3.5'
volumes:
oxla_data:
services:
oxla_node:
image: public.ecr.aws/oxla/release:latest
security_opt:
- seccomp:unconfined
ulimits:
nofile:
soft: 40000
hard: 40000
volumes:
- oxla_data:/data
ports:
- 5432:5432
environment:
- AZURE_ACCOUNT_NAME=${AZURE_ACCOUNT_NAME?err}
- AZURE_TENANT_ID=${AZURE_TENANT_ID?err}
- AZURE_CLIENT_ID=${AZURE_CLIENT_ID?err}
- AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET?err}
- Execute the following command to create and start the docker container:
docker compose -f one_node.yml up
- Execute the following command to run Oxla:
psql -h localhost
If you encounter an error response “bash: psql: command not found“, this means that you have not installed PostgreSQL.
- When you get the following result, you are now in the Oxla server✅
psql (14.4, server Oxla 1.0)
HP=>
Encountered an error? We got you! Head over here to see your troubleshooting resolutions!