Overview
This guide provides step-by-step instructions for deploying an Oxla Docker container and integrating it with Amazon S3 Storage as the object storage. You will configure Docker, create a Docker Compose file and run the Oxla container so it can read from and write to Amazon S3 Storage.Prerequisites
Before proceeding, make sure you have the following:- Docker: install Docker on your Linux machine
- PostgreSQL Client: install PostgreSQL client to connect to the Oxla database
- AWS S3 Bucket: create an AWS S3 bucket to store you data
- AWS Credentials: obtain your AWS access key ID and secret access key. For details, see the AWS Identity and Access Management documentation on access keys
Creating the Docker Compose File
Open your terminal and create a new Docker Compose file nameddocker-compose.s3-credentials.yml
:
The
OXLA_HOME
path must reference a directory in your Blob container that is either empty or exclusively contains files conforming to the Oxla format.:wq
and pressing Enter
.
Running Docker Container
After saving the YAML file, run the following command to create and start the Oxla docker container:The default username and password for the Oxla superuser are both “oxla”.