-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker.env.example
More file actions
32 lines (28 loc) · 1.17 KB
/
Copy pathdocker.env.example
File metadata and controls
32 lines (28 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copy to .env.docker. Docker and Compose inject these values at runtime.
MYGITNOTES_SOURCE=github
MYGITNOTES_REPOSITORY=your-username/your-repository
MYGITNOTES_BRANCH=main
APP_URL=http://localhost:4321
# Generate once with: openssl rand -hex 32
# Keep the same secret when recreating the container.
SESSION_SECRET=
# GitHub OAuth callback: ${APP_URL}/api/auth/github/callback
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_APP_TYPE=oauth-app
# For GitLab, select MYGITNOTES_SOURCE=gitlab and set the project path above.
# OAuth scope: api; callback: ${APP_URL}/api/auth/gitlab/callback
MYGITNOTES_GITLAB_URL=https://gitlab.com
GITLAB_CLIENT_ID=
GITLAB_CLIENT_SECRET=
# Compose starts its own Redis and sets REDIS_URL=redis://redis:6379.
# Docker alone stores encrypted records in /app/.github-notes-sessions.
# Mount a persistent volume there, or connect to your own Redis:
# REDIS_URL=redis://redis:6379
MYGITNOTES_SESSION_NAMESPACE=
# Optional private Cloudflare R2 assets referenced in notes as r2:<object-key>.
# Use an R2 API token with Object Read access to this bucket only.
MYGITNOTES_R2_ACCOUNT_ID=
MYGITNOTES_R2_ACCESS_KEY_ID=
MYGITNOTES_R2_SECRET_ACCESS_KEY=
MYGITNOTES_R2_BUCKET=