-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
54 lines (45 loc) · 1.74 KB
/
Copy path.env.example
File metadata and controls
54 lines (45 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
# Required
MONGODB_URI=mongodb://mongo:13777/molt-log
NEXTAUTH_SECRET=replace-with-strong-secret
NEXTAUTH_URL=http://localhost:5777
# S3 (MinIO) - local docker
# If running the app outside Docker, set S3_ENDPOINT to http://localhost:9000
# If running inside docker-compose, S3_ENDPOINT can be http://minio:9000
S3_BUCKET=molt-uploads
S3_REGION=us-east-1
S3_ENDPOINT=http://minio:9000
S3_PUBLIC_URL=http://localhost:9000
S3_ACCESS_KEY=minioadmin
S3_SECRET_KEY=minioadmin
S3_FORCE_PATH_STYLE=true
# Admins (comma-separated list of emails)
ADMIN_EMAILS=
# Admins via Discord (comma-separated user IDs, the long numeric snowflakes)
ADMIN_DISCORD_IDS=
# Email (Resend)
RESEND_API_KEY=re_xxxxxxxxxxxx
RESEND_FROM="Moltly <no-reply@moltly.xyz>"
#Discord Auth
DISCORD_CLIENT_ID=your-discord-client-id
DISCORD_CLIENT_SECRET=your-discord-client-secret
#Google Auth
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
#Integration with World Spider Catalog Bot (Ignore-This bot is not open sourced yet)
WSCA_SYNC_URL=http://localhost:8080/sync/molt
WSCA_SYNC_SECRET=replace-with-shared-secret
WSCA_SYNC_DEBUG=false
WSCA_NOTE_SYNC_URL=http://localhost:8080/sync/notes
WSC_API_KEY=your-wsc-api-key
# Apple Auth
# Create a Services ID in Apple Developer and set callback to:
# http://localhost:5777/api/auth/callback/apple
# APPLE_CLIENT_ID is your Services ID identifier (e.g., com.example.web)
# You can set either APPLE_CLIENT_SECRET (pre-generated JWT) OR generate it with the values below.
APPLE_CLIENT_ID=
APPLE_CLIENT_SECRET=
APPLE_TEAM_ID=
APPLE_KEY_ID=
# Provide either the PEM contents or a path to the .p8 key file
# APPLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
# APPLE_PRIVATE_KEY_PATH=./AuthKey_XXXXXX.p8