A container registry that uses the AT Protocol for manifest storage and S3 for blob storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at b54d33ccf8bc03ba0a4a55f2d64f2eae361832c0 167 lines 7.6 kB view raw
1# ATCR AppView Configuration 2# Generated with defaults — edit as needed. 3 4# Configuration format version. 5version: "0.1" 6# Log level: debug, info, warn, error. 7log_level: info 8# Remote log shipping settings. 9log_shipper: 10 # Log shipping backend: "victoria", "opensearch", or "loki". Empty disables shipping. 11 backend: "" 12 # Remote log service endpoint, e.g. "http://victorialogs:9428". 13 url: "" 14 # Number of log entries to buffer before flushing to the remote service. 15 batch_size: 100 16 # Maximum time between flushes, even if batch is not full. 17 flush_interval: 5s 18 # Basic auth username for the log service (optional). 19 username: "" 20 # Basic auth password for the log service (optional). 21 password: "" 22# HTTP server and identity settings. 23server: 24 # Listen address, e.g. ":5000" or "127.0.0.1:5000". 25 addr: :5000 26 # Public-facing URL for OAuth callbacks and JWT realm. Auto-detected if empty. 27 base_url: "" 28 # DID of the hold service for blob storage, e.g. "did:web:hold01.atcr.io" (REQUIRED). 29 default_hold_did: "" 30 # Allows HTTP (not HTTPS) for DID resolution and uses transition:generic OAuth scope. 31 test_mode: false 32 # Path to P-256 private key for OAuth client authentication. Auto-generated on first run. 33 oauth_key_path: /var/lib/atcr/oauth/client.key 34 # Display name shown on OAuth authorization screens. 35 client_name: AT Container Registry 36 # Short name used in page titles and browser tabs. 37 client_short_name: ATCR 38 # Separate domains for OCI registry API (e.g. ["buoy.cr"]). First is primary. Browser visits redirect to BaseURL. 39 registry_domains: [] 40 # DIDs of holds this appview manages billing for. Tier updates are pushed to these holds. 41 managed_holds: 42 - did:web:172.28.0.3%3A8080 43# Web UI settings. 44ui: 45 # SQLite/libSQL database for OAuth sessions, stars, pull counts, and device approvals. 46 database_path: /var/lib/atcr/ui.db 47 # Visual theme name (e.g. "seamark"). Empty uses default atcr.io branding. 48 theme: "seamark" 49 # libSQL sync URL (libsql://...). Works with Turso cloud or self-hosted libsql-server. Leave empty for local-only SQLite. 50 libsql_sync_url: "" 51 # Auth token for libSQL sync. Required if libsql_sync_url is set. 52 libsql_auth_token: "" 53 # How often to sync with remote libSQL server. Default: 60s. 54 libsql_sync_interval: 1m0s 55# Health check and cache settings. 56health: 57 # How long to cache hold health check results. 58 cache_ttl: 15m0s 59 # How often to refresh hold health checks. 60 check_interval: 15m0s 61# ATProto Jetstream event stream settings. 62jetstream: 63 # Jetstream WebSocket endpoints, tried in order on failure. 64 urls: 65 - wss://jetstream2.us-west.bsky.network/subscribe 66 - wss://jetstream1.us-west.bsky.network/subscribe 67 - wss://jetstream2.us-east.bsky.network/subscribe 68 - wss://jetstream1.us-east.bsky.network/subscribe 69 # Sync existing records from PDS on startup. 70 backfill_enabled: true 71 # How often to re-run backfill to catch missed events. Set to 0 to only backfill on startup. 72 backfill_interval: 24h0m0s 73 # Relay endpoints for backfill, tried in order on failure. 74 relay_endpoints: 75 - https://relay1.us-east.bsky.network 76 - https://relay1.us-west.bsky.network 77 - https://zlay.waow.tech 78# JWT authentication settings. 79auth: 80 # RSA private key for signing registry JWTs issued to Docker clients. 81 key_path: /var/lib/atcr/auth/private-key.pem 82 # X.509 certificate matching the JWT signing key. 83 cert_path: /var/lib/atcr/auth/private-key.crt 84# Credential helper download settings. 85credential_helper: 86 # Tangled repository URL for credential helper downloads. 87 tangled_repo: "" 88# Legal page customization for self-hosted instances. 89legal: 90 # Organization name for Terms of Service and Privacy Policy. Defaults to server.client_name. 91 company_name: "" 92 # Governing law jurisdiction for legal terms. 93 jurisdiction: "" 94# AI-powered image advisor settings. 95ai: 96 # Anthropic API key for AI Image Advisor. Also reads CLAUDE_API_KEY env var as fallback. 97 api_key: "" 98# Stripe billing integration (requires -tags billing build). 99billing: 100 # Stripe secret key. Can also be set via STRIPE_SECRET_KEY env var (takes precedence). Billing is enabled automatically when set. 101 stripe_secret_key: "" 102 # Stripe webhook signing secret. Can also be set via STRIPE_WEBHOOK_SECRET env var (takes precedence). 103 webhook_secret: "" 104 # ISO 4217 currency code (e.g. "usd"). 105 currency: usd 106 # Redirect URL after successful checkout. Use {base_url} placeholder. 107 success_url: '{base_url}/settings#billing' 108 # Redirect URL after cancelled checkout. Use {base_url} placeholder. 109 cancel_url: '{base_url}/settings#billing' 110 # Subscription tiers ordered by rank (lowest to highest). 111 tiers: 112 - # Tier name. Position in list determines rank (0-based). 113 name: free 114 # Short description shown on the plan card. 115 description: Get started with basic storage 116 # List of features included in this tier. 117 features: [] 118 # Stripe price ID for monthly billing. Empty = free tier. 119 stripe_price_monthly: "" 120 # Stripe price ID for yearly billing. 121 stripe_price_yearly: "" 122 # Maximum webhooks for this tier (-1 = unlimited). 123 max_webhooks: 1 124 # Allow all webhook trigger types (not just first-scan). 125 webhook_all_triggers: false 126 # Enable AI Image Advisor for this tier. 127 ai_advisor: false 128 # Show supporter badge on user profiles for subscribers at this tier. 129 supporter_badge: false 130 - # Tier name. Position in list determines rank (0-based). 131 name: Supporter 132 # Short description shown on the plan card. 133 description: Get started with basic storage 134 # List of features included in this tier. 135 features: [] 136 # Stripe price ID for monthly billing. Empty = free tier. 137 stripe_price_monthly: "" 138 # Stripe price ID for yearly billing. 139 stripe_price_yearly: "price_1SmK1mRROAC4bYmSwhTQ7RY9" 140 # Maximum webhooks for this tier (-1 = unlimited). 141 max_webhooks: 1 142 # Allow all webhook trigger types (not just first-scan). 143 webhook_all_triggers: true 144 # Enable AI Image Advisor for this tier. 145 ai_advisor: true 146 # Show supporter badge on user profiles for subscribers at this tier. 147 supporter_badge: true 148 - # Tier name. Position in list determines rank (0-based). 149 name: bosun 150 # Short description shown on the plan card. 151 description: More storage with scan-on-push 152 # List of features included in this tier. 153 features: [] 154 # Stripe price ID for monthly billing. Empty = free tier. 155 stripe_price_monthly: "price_1SmK4QRROAC4bYmSxpr35HUl" 156 # Stripe price ID for yearly billing. 157 stripe_price_yearly: "price_1SmJuLRROAC4bYmSUgVCwZWo" 158 # Maximum webhooks for this tier (-1 = unlimited). 159 max_webhooks: 10 160 # Allow all webhook trigger types (not just first-scan). 161 webhook_all_triggers: true 162 # Enable AI Image Advisor for this tier. 163 ai_advisor: true 164 # Show supporter badge on user profiles for subscribers at this tier. 165 supporter_badge: true 166 # Show supporter badge on hold owner profiles. 167 owner_badge: true