-
Notifications
You must be signed in to change notification settings - Fork 20
/
.env.sample
35 lines (28 loc) · 1.02 KB
/
.env.sample
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
# Discord bot secrets
DISCORD_GUILD_ID=123456
DISCORD_APP_ID=123456
DISCORD_BOT_TOKEN=ABCDE.12345.zyxwvu
DISCORD_PUBLIC_KEY=123456abcde
VITE_DISCORD_GUILD_ID=$DISCORD_GUILD_ID
# Discord bot's OAuth secrets
DISCORD_AUTH_CLIENT_ID=$DISCORD_APP_ID
DISCORD_AUTH_CLIENT_SECRET=oauthclientsecret
# Database URL for prisma (relative to prisma directory)
DATABASE_URL="file:data/local.db"
# GitHub->Discord release webhook
DISCORD_WEBHOOK_URL_RELEASES=discordwebhookurl
GITHUB_WEBHOOK_SECRET=supersecret123
# secrets for next-auth
# https://next-auth.js.org/configuration/options#environment-variables
NEXTAUTH_SECRET=nextauthsecret
# expose to Vite (Svelte-Kit)
VITE_HOST=http://localhost:3000
VITE_NEXTAUTH_URL=$VITE_HOST
# GitHub App
GITHUB_ORG_LOGIN='aws-amplify'
GITHUB_APP_ID=12345
GITHUB_CLIENT_ID=Iv1.12345abcde
GITHUB_CLIENT_SECRET=abcdefg1234567
GITHUB_PRIVATE_KEY={"privateKey": "-----BEGIN PRIVATE KEY-----\nABCDEfghi12345...\n-----END PRIVATE KEY-----"}
# discussion category for admin mirror command
GITHUB_DISCUSSION_CATEGORY='Q&A'