|
|
# Example environment configuration for CLIProxyAPI. |
|
|
# Copy this file to `.env` and uncomment the variables you need. |
|
|
# |
|
|
|
|
|
# For local file-based storage (default), no environment variables need to be set. |
|
|
|
|
|
# ------------------------------------------------------------------------------ |
|
|
# Management Web UI |
|
|
# ------------------------------------------------------------------------------ |
|
|
# MANAGEMENT_PASSWORD=change-me-to-a-strong-password |
|
|
|
|
|
# ------------------------------------------------------------------------------ |
|
|
# Postgres Token Store (optional) |
|
|
# ------------------------------------------------------------------------------ |
|
|
# PGSTORE_DSN=postgresql://user:pass@localhost:5432/cliproxy |
|
|
# PGSTORE_SCHEMA=public |
|
|
# PGSTORE_LOCAL_PATH=/var/lib/cliproxy |
|
|
|
|
|
# ------------------------------------------------------------------------------ |
|
|
# Git-Backed Config Store (optional) |
|
|
# ------------------------------------------------------------------------------ |
|
|
# GITSTORE_GIT_URL=https://github.com/your-org/cli-proxy-config.git |
|
|
# GITSTORE_GIT_USERNAME=git-user |
|
|
# GITSTORE_GIT_TOKEN=ghp_your_personal_access_token |
|
|
# GITSTORE_LOCAL_PATH=/data/cliproxy/gitstore |
|
|
|
|
|
# ------------------------------------------------------------------------------ |
|
|
# Object Store Token Store (optional) |
|
|
# ------------------------------------------------------------------------------ |
|
|
# OBJECTSTORE_ENDPOINT=https://s3.your-cloud.example.com |
|
|
# OBJECTSTORE_BUCKET=cli-proxy-config |
|
|
# OBJECTSTORE_ACCESS_KEY=your_access_key |
|
|
# OBJECTSTORE_SECRET_KEY=your_secret_key |
|
|
# OBJECTSTORE_LOCAL_PATH=/data/cliproxy/objectstore |
|
|
|