Skip to main content
Access required. Airhouse is proprietary and not open source. The Airhouse container image is provided by Oxygen once access is granted. Contact Oxygen to get access, or see Getting access.
This guide runs a complete Airhouse stack on your machine: Postgres for the catalog, MinIO for S3-compatible storage, and the Airhouse server. You then create a database and a user, connect with psql, and run a few queries.

Prerequisites

  • Access to Airhouse from Oxygen, and the image tag to use
  • Docker with Docker Compose
  • psql (any recent PostgreSQL client)
  • curl
1

Log in to the registry

The Airhouse image is published to the GitHub Container Registry at ghcr.io/oxy-hq/airhouse. If Oxygen gave you registry credentials, log in with them:
2

Create a Compose file

Save the following as docker-compose.yml in an empty directory:
docker-compose.yml
Replace <version> with your release tag before starting. The passwords and the local-admin-token value above are for local testing only. Use strong, secret values for anything else. See Installation and Configuration.
3

Start the stack

Wait until the server reports healthy:
4

Create a database and a user

Airhouse databases and users are managed through the Admin API on port 8080. Create a database named demo, then a user alice with the admin role:
5

Connect with psql

Enter alice-password when prompted. The dbname is the database you created in the previous step.
6

Run your first queries

Create a table in the lake catalog, load some rows, and query them:
Update and delete rows just like in Postgres:
List your tables with \dt. Your data is now stored as Parquet files in the airhouse bucket, and survives restarts of the stack.

Clean up

Next steps