-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
52 lines (40 loc) · 2.16 KB
/
Copy path.env.example
File metadata and controls
52 lines (40 loc) · 2.16 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
# ── Database ──────────────────────────────────
DATABASE_URL="postgresql://endgit:endgit_secret@localhost:5432/endgit?schema=public"
# ── Redis ─────────────────────────────────────
REDIS_URL="redis://localhost:6379"
# ── GitHub App ────────────────────────────────
GITHUB_APP_ID=""
GITHUB_APP_CLIENT_ID=""
GITHUB_APP_CLIENT_SECRET=""
GITHUB_APP_PRIVATE_KEY=""
# ── API ───────────────────────────────────────
API_URL="http://localhost:4000"
API_PORT=4000
# ── NextAuth (for CORS origin) ────────────────
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-secret-here-change-in-production"
# ── Webhooks ──────────────────────────────────
ENDGIT_WEBHOOK_URL="https://your-domain.com/api/v1/webhooks/github"
ENDGIT_WEBHOOK_SECRET="your-webhook-secret"
# ── Storage ───────────────────────────────────
STORAGE_TYPE="local"
STORAGE_PATH="./uploads"
# ── S3 Configuration (if STORAGE_TYPE=s3) ─────
S3_REGION="us-east-1"
S3_BUCKET="endgit-artifacts"
S3_ACCESS_KEY="your-access-key"
S3_SECRET_KEY="your-secret-key"
S3_ENDPOINT="https://s3.amazonaws.com"
S3_FORCE_PATH_STYLE="false"
# ── Build Callbacks (GitHub Actions) ──────────
ENDGIT_CALLBACK_TOKEN="your-callback-secret-token"
# ── Discord Notifications ─────────────────────
DISCORD_WEBHOOK_URL=""
# ── Email Notifications (Spacemail SMTP) ──────
SMTP_HOST="mail.spacemail.com"
SMTP_PORT=465
SMTP_USER="notifications@endgit.dev"
SMTP_PASS="your-smtp-password-here"
SMTP_FROM="EndGit <notifications@endgit.dev>"
# ── Site URL ──────────────────────────────────
SITE_URL="https://endgit.dev"