23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
# Copy to .env (gitignored) and fill in real values. Used by
|
|
# pocketbase/configure-secrets.sh, not baked into any image or sent to
|
|
# the browser.
|
|
|
|
# The PocketBase superuser account - create it with:
|
|
# docker compose exec pocketbase ./pocketbase superuser upsert "$POCKETBASE_SUPERUSER_EMAIL" "$POCKETBASE_SUPERUSER_PASSWORD"
|
|
POCKETBASE_SUPERUSER_EMAIL=admin@example.com
|
|
POCKETBASE_SUPERUSER_PASSWORD=change-me-min-10-chars
|
|
|
|
# Cloudflare R2 - create a bucket + an R2 API token (Account Home > R2 >
|
|
# Manage API Tokens) with read/write access to that bucket.
|
|
R2_ACCOUNT_ID=your-cloudflare-account-id
|
|
R2_ACCESS_KEY=your-r2-access-key-id
|
|
R2_SECRET_KEY=your-r2-secret-access-key
|
|
R2_BUCKET=your-bucket-name
|
|
|
|
# Google OAuth2 - create an OAuth Client ID (Google Cloud Console >
|
|
# APIs & Services > Credentials > Create Credentials > OAuth client ID,
|
|
# type "Web application"). The redirect URI to register is shown on
|
|
# PocketBase's own Admin UI under Collections > users > Options > OAuth2.
|
|
GOOGLE_OAUTH_CLIENT_ID=your-google-oauth-client-id
|
|
GOOGLE_OAUTH_CLIENT_SECRET=your-google-oauth-client-secret
|