Client configuration
| Variable | Description | Default |
|---|---|---|
AIRSTORE_TOKEN | Authentication token for mounting | - |
AIRSTORE_API_URL | API endpoint URL | https://api.airstore.dev |
AIRSTORE_MOUNT_PATH | Default mount path | ~/airstore |
AIRSTORE_CONFIG_PATH | Config file location | ~/.airstore/config.yaml |
AIRSTORE_LOG_LEVEL | Log verbosity (debug, info, warn, error) | info |
Usage
Server configuration (self-hosted)
| Variable | Description | Default |
|---|---|---|
DATABASE_URL | Database connection string | - |
S3_ENDPOINT | S3-compatible storage endpoint | - |
S3_BUCKET | Storage bucket name | airstore |
S3_ACCESS_KEY | S3 access key | - |
S3_SECRET_KEY | S3 secret key | - |
ENCRYPTION_KEY | Key for encrypting tokens | - |
PORT | Server port | 8080 |
HOST | Server bind address | 0.0.0.0 |
OAuth configuration
| Variable | Description |
|---|---|
GMAIL_CLIENT_ID | Gmail OAuth client ID |
GMAIL_CLIENT_SECRET | Gmail OAuth client secret |
GITHUB_CLIENT_ID | GitHub OAuth client ID |
GITHUB_CLIENT_SECRET | GitHub OAuth client secret |
LINEAR_CLIENT_ID | Linear OAuth client ID |
LINEAR_CLIENT_SECRET | Linear OAuth client secret |
SLACK_CLIENT_ID | Slack OAuth client ID |
SLACK_CLIENT_SECRET | Slack OAuth client secret |
NOTION_CLIENT_ID | Notion OAuth client ID |
NOTION_CLIENT_SECRET | Notion OAuth client secret |
GDRIVE_CLIENT_ID | Google Drive OAuth client ID |
GDRIVE_CLIENT_SECRET | Google Drive OAuth client secret |
Example: Docker
Example: Shell profile
Add to~/.bashrc or ~/.zshrc:
Example: CI/CD
Precedence
Configuration is loaded in this order (later overrides earlier):- Default values
- Config file (
~/.airstore/config.yaml) - Environment variables
- Command-line flags