-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
73 lines (55 loc) · 1.74 KB
/
.env.example
File metadata and controls
73 lines (55 loc) · 1.74 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Git-Folder Environment Configuration
# Copy this file to .env and update with your values
# Application
NODE_ENV=development
PORT=8080
APP_URL=http://localhost:8080
SECRET_KEY=your-secret-key-here-change-in-production
# Authentication Mode
# Options: dev (no auth), oauth (production)
AUTH_MODE=dev
# OAuth Providers
# GitHub OAuth
OAUTH_GITHUB_CLIENT_ID=your-github-client-id
OAUTH_GITHUB_CLIENT_SECRET=your-github-client-secret
# Google OAuth
OAUTH_GOOGLE_CLIENT_ID=your-google-client-id
OAUTH_GOOGLE_CLIENT_SECRET=your-google-client-secret
# Discord OAuth
OAUTH_DISCORD_CLIENT_ID=your-discord-client-id
OAUTH_DISCORD_CLIENT_SECRET=your-discord-client-secret
# Database
# Options: sqlite, nocodb
DATABASE_TYPE=sqlite
DATABASE_URL=/app/data/git-folder.db
# NocoDB (optional, only if DATABASE_TYPE=nocodb)
NOCODB_API_TOKEN=your-nocodb-api-token
# Git Configuration
# Base URL for external Git repositories (optional)
EXTERNAL_REPO_BASE_URL=
# Path to store generated SSH keys
SSH_KEY_PATH=/app/ssh
# File Upload Settings
# Maximum file size in MB (default: 1024 for 1GB)
MAX_FILE_SIZE=1024
# File size threshold for Git LFS in MB (default: 50)
LFS_THRESHOLD=50
# Commit Message Settings
# Show commit message dialog on upload (default: false)
COMMIT_MESSAGE_DIALOG=false
# Require commit message (default: false)
COMMIT_MESSAGE_REQUIRED=false
# Email Notifications (Mailgun)
# Enable/disable email notifications
EMAIL_NOTIFICATIONS_ENABLED=false
# Mailgun Configuration
MAILGUN_API_KEY=your-mailgun-api-key
MAILGUN_DOMAIN=your-domain.com
MAILGUN_FROM_EMAIL=noreply@your-domain.com
# Logging
LOG_LEVEL=info
# Development Settings
# Enable hot reload for development
DEV_HOT_RELOAD=true
# Docker Settings (used by docker-compose)
COMPOSE_PROJECT_NAME=git-folder