forked from AnswerOverflow/AnswerOverflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
72 lines (53 loc) · 2.24 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
# Get these values from here
# https://discord.com/developers/applications
# If you are using github codespaces, we recommend using encrypted secrets for these env's!
DISCORD_TOKEN = ""
DISCORD_CLIENT_ID = ""
DISCORD_CLIENT_SECRET = ""
DATABASE_URL = mysql://root:mysql@ao-db-sql:3306/api_dev
ELASTICSEARCH_URL = http://ao-db-elastic:9200
# ! USE THESE VALUES IF YOU ARE NOT RUNNING IN THE DEV CONTAINER AND INSTEAD ARE USING DOCKER COMPOSE
# DATABASE_URL = mysql://root:mysql@localhost:33306/api_dev # Change to localhost if not running in a container
# ELASTICSEARCH_URL = http://localhost:9200 # Change to localhost if not running in a container
ELASTICSEARCH_PASSWORD = changeme
ELASTICSEARCH_USERNAME = elastic
ELASTICSEARCH_MESSAGE_INDEX = messages
# Use this if connecting to a production Elastic Cloud instance
# ELASTICSEARCH_CLOUD_ID = ""
REDIS_URL = redis://:redis@ao-cache-redis:6379
NEXTAUTH_SECRET = 123
# Options are "local", "staging", "production" - used for controlling whether Google indexing is enabled, etc
NEXT_PUBLIC_DEPLOYMENT_ENV = "local"
# Optional for reporting errors to sentry
# NEXT_PUBLIC_SENTRY_DSN = ""
# Optional for remote caching
# TURBO_TOKEN = ""
# TURBO_TEAM = ""
# Uncomment this if you are running a slow machine
# It gives more time for untracked async tasks to succeed
# DEFAULT_DELAY_IN_MS = 5000
# Uncomment to disable indexing
# INDEXING_DISABLED = true
# Limit the number of threads indexing in a single channel in an indexing run
# MAX_NUMBER_OF_THREADS_TO_COLLECT = 1000
# Limit the number of messages indexed in a single channel in an indexing run
# MAX_NUMBER_OF_MESSAGES_TO_COLLECT = 20000
# Optional for Posthog analytics
# NEXT_PUBLIC_POSTHOG_TOKEN = ""
# POSTHOG_PERSONAL_API_KEY = "" # Your personal API key, do not share this with anyone
# POSTHOG_PROJECT_ID = ""
# STATUS_UPDATE_INTERVAL_IN_HOURS
# For custom domains
# PROJECT_ID_VERCEL = ""
# TEAM_ID_VERCEL = ""
# AUTH_BEARER_TOKEN_VERCEL = ""
# Payments
# STRIPE_PRO_PLAN_PRICE_ID = ""
# STRIPE_ENTERPRISE_PLAN_PRICE_ID = ""
# STRIPE_PAGE_VIEWS_PRICE_ID = ""
# STRIPE_SECRET_KEY = ""
# STRIPE_WEBHOOK_SECRET = ""
# STRIPE_CHECKOUT_URL = ""
NEXT_PUBLIC_SITE_URL = "http://localhost:3000"
NEXT_PUBLIC_SITE_URL = "http://localhost:3000"
ENVIRONMENT = "discord-bot"