1# Environment Configuration
2
3# Server
4PORT=8080
5BASE_URL=https://example.com
6
7# Database
8DATABASE_URL=margin.db
9
10# Static Files (path to built frontend)
11STATIC_DIR=../web/dist
12
13# AT Protocol OAuth
14OAUTH_CLIENT_ID=https://example.com/client-metadata.json
15OAUTH_CALLBACK_URL=https://example.com/auth/callback
16OAUTH_KEY_PATH=./oauth_private_key.pem
17
18# Production Example:
19# PORT=443
20# BASE_URL=https://margin.at
21# OAUTH_CLIENT_ID=https://margin.at/client-metadata.json
22# OAUTH_CALLBACK_URL=https://margin.at/auth/callback