Prerequisites
- A server with Docker and Docker Compose
- A domain name pointing at the server, with ports 80 and 443 open
- A GitHub account that can create GitHub Apps, or a GitLab account that can create access tokens
- An Anthropic API key, or AWS credentials for Bedrock
Get started
1
Create the files
Make a folder with a
docker-compose.yml, a Caddyfile and a .env. Copy them from Docker deployment.Generate the database password and the encryption key with:2
Start Compiler
https://compiler.yourdomain.com/setup, fill in the Set up your instance form to create the owner account, and click Save.3
Connect GitHub
Setup asks for a GitHub App. Create one by following GitHub App setup, enter its App ID, slug and private key, then install it on the repositories Compiler may read.If your code is on GitLab, click Connect GitLab instead below the form. Create an access token by following GitLab setup, then paste it in. For self-managed GitLab, also enter its address.
4
Choose an AI provider
Pick the Anthropic API or AWS Bedrock and enter your credentials.
5
Create a project
Create your first project and choose the repositories it covers. Compiler clones them in the background, and you can start asking questions while they sync.
Next steps
Add file uploads
Let people attach images and documents to conversations.
Connect Slack
Answer questions directly in Slack threads.