Getting Started
Table of contents
Welcome! This guide will help you get up and running with the Aqueduct AI Gateway project.
Quick Start (with Docker Compose)
The recommended way to get Aqueduct running locally is with Docker Compose. This will start the Django app, a PostgreSQL database, and a local mock OIDC provider (Dex) for authentication.
- Clone the repository
git clone https://github.com/tu-wien-datalab/aqueduct.git cd aqueduct
- Start the services
docker compose up --build
This will build and start all required services using the provided
.example.env
file for environment variables. -
Access the application
- The web UI will be available at http://localhost:8000
- The local OIDC provider (Dex) will be running at http://localhost:5556/dex
- Default login credentials for Dex are:
- Username:
you@example.com
- Password:
1234
- Username:
You can now access the admin UI and start exploring the gateway features.
[!NOTE] This starts Django in debug mode and is not suitable for production deployments. Change the necessary settings for a production deployment.
Starting vLLM (Optional)
To use an actual provider, you can run vLLM locally on your machine, e.g. with:
vllm serve Qwen/Qwen2.5-0.5B-Instruct -p 8001
For more information, follow the Quickstart guide on vLLM.
Then follow the User Guide to create an Endpoint with the (internal URL http://host.docker.internal:8001/v1
and add the model with the name Qwen/Qwen2.5-0.5B-Instruct
and a display name of your choosing.
You can then create a token and run the examples in the User Guide, for example:
curl http://localhost:8000/vllm/models \
-H "Authorization: Bearer YOUR_AQUEDUCT_TOKEN"
Local Setup (with uv
)
If you prefer to run Aqueduct directly on your machine (for development), you can use uv
:
- Install
uv
If you don’t haveuv
installed, you can install it via pip:pip install uv
- Clone the repository
git clone https://github.com/tu-wien-datalab/aqueduct.git cd aqueduct
- Create a virtual environment and install dependencies
uv venv source .venv/bin/activate uv sync
- Run the Django development server
uv run aqueduct/manage.py runserver
Note: You will need to have Dex running locally, or adjust your environment variables accordingly to use an existing OIDC provider.