forked from civitai/civitai
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env-example
63 lines (51 loc) · 1.5 KB
/
.env-example
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
# Since .env is gitignored, you can use .env-example to build a new `.env` file when you clone the repo.
# Keep this file up-to-date when you add new variables to `.env`.
# This file will be committed to version control, so make sure not to have any secrets in it.
# If you are cloning this repo, create a copy of this file named `.env` and populate it with your secrets.
# When adding additional env variables, the schema in /env/schema.mjs should be updated accordingly
# Prisma
DATABASE_URL=postgresql://postgres:postgres@locahost:5432/postgres
# Logging
LOGGING=session-helpers,prisma:error,prisma:warn,prisma:query,update-metrics
# Next Auth
NEXTAUTH_SECRET=
NEXTAUTH_URL=http://localhost:3000
# Next Auth Discord Provider
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
# Next Auth GitHub Provider
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# Next Auth Google Provider
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Next Auth Reddit Provider
REDDIT_CLIENT_ID=
REDDIT_CLIENT_SECRET=
# File uploading
S3_UPLOAD_BUCKET=model-share
S3_UPLOAD_REGION=auto
S3_UPLOAD_ENDPOINT=
S3_UPLOAD_KEY=
S3_UPLOAD_SECRET=
CF_IMAGES_TOKEN=
CF_ACCOUNT_ID=
NEXT_PUBLIC_IMAGE_LOCATION=
NEXT_PUBLIC_CONTENT_DECTECTION_LOCATION=
# Email
EMAIL_HOST=
EMAIL_PORT=
EMAIL_SECURE=
EMAIL_USER=
EMAIL_PASS=
EMAIL_FROM=
# Endpoint Protection
JOB_TOKEN=
WEBHOOK_TOKEN=
# Site Configuration
UNAUTHENTICATED_DOWNLOAD=true
UNAUTHENTICATE_LIST_NSFW=false
NEXT_PUBLIC_MAINTENANCE_MODE=false
# Security
SCANNING_ENDPOINT=http://scan-me.civitai.com/enqueue
SCANNING_TOKEN=