-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.example
100 lines (82 loc) · 2.7 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Since the ".env" file is gitignored, you can use the ".env.example" file 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.
# Traefik
DOMAIN=localhost
EMAIL=admin@localhost
CERT_RESOLVER=letsencrypt
# PGAdmin
PGADMIN_EMAIL=admin@localhost
PGADMIN_PASSWORD=
# Disable telemetry
## Next.js
NEXT_TELEMETRY_DISABLED=1
## Prisma
CHECKPOINT_DISABLE=1
# When adding additional environment variables, the schema in "/src/env.mjs"
# should be updated accordingly.
# Prisma
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
POSTGRES_DB=lost_and_found_db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_HOST=localhost
DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}
# @next/bundle-analyzer package in next.config.mjs
# Always false for production
ANALYZE=false
# next-pwa package in next.config.mjs
# true for PWA development
# Always false for production
DISABLE_PWA=false
# S3
# Allow upload only resources *.png, *.jpg, *.jpeg, *.gif, *.webp, add to NEXT_PUBLIC_S3_UPLOAD_RESOURCE_FORMATS
# Access rules:
# GetObject, PutObject with key access
# GetObject for all
S3_UPLOAD_KEY=
S3_UPLOAD_SECRET=
S3_UPLOAD_BUCKET=
S3_UPLOAD_HOSTNAME=storage.yandexcloud.net
S3_UPLOAD_ENDPOINT_URL=https://${S3_UPLOAD_HOSTNAME}
NEXT_PUBLIC_CDN_ENDPOINT_URL=https://${S3_UPLOAD_BUCKET}.${S3_UPLOAD_HOSTNAME}
S3_UPLOAD_REGION=ru-central1
NEXT_PUBLIC_S3_UPLOAD_RESOURCE_FORMATS=.png,.jpg,.jpeg,.gif,.webp
# Open AI for image generation
OPENAI_API_KEY=
# Redis
REDIS_DB=
REDIS_PASSWORD=
REDIS_HOST=
REDIS_PORT=6379
REDIS_URL=redis://:${REDIS_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}/${REDIS_DB}
# Next Auth
# You can generate a new secret on the command line with:
# openssl rand -base64 32
# https://next-auth.js.org/configuration/options#secret
NEXTAUTH_SECRET=
NEXTAUTH_URL=http://localhost:3000
NEXT_PUBLIC_NEXTAUTH_URL=${NEXTAUTH_URL}
# Next Auth Mirea Ninja Provider
MIREA_CLIENT_ID=
MIREA_CLIENT_SECRET=
# Next Auth Google Provider
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Next Auth Github Provider
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
CALLBACK_SECRET_URL_STRING=secret
# Callback url must be https. You can use ngrok for development
CALLBACK_URL=httpss://localhost
VK_BOT_TOKEN=secret
VK_GROUP_ID=1234567
TELEGRAM_BOT_TOKEN=secret
TELEGRAM_BOT_NAME=username_bot
IMAGE_CAPTION_HOST=http://localhost:8989
# https://app.inngest.com/env/production/manage/signing-key
INNGEST_SIGNING_KEY=
INNGEST_EVENT_KEY=