forked from Hanabi-Live/hanabi-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
78 lines (67 loc) · 2.84 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
# The name of the domain to use
# This must exactly match the URL that you connect to, or else the login cookie will not work
DOMAIN="localhost"
# A random 128 character alphanumeric string
# This is used to encrypt/decrypt the cookies
SESSION_SECRET="change_this_string"
# The port that the HTTP server will listen on
# If blank, it will default to 80 or 443, depending on whether a TLS certificate is specified
# This must not overlap with "LOCALHOST_PORT" or "WEBPACK_PORT"
PORT=
# The port that the WebPack development server will listen on
# If blank, it will default to 8080
# This must not overlap with "PORT" or "LOCALHOST_PORT"
WEBPACK_DEV_SERVER_PORT=
# The port that the localhost HTTP server will listen on
# If blank, it will default to 8081
# This must not overlap with "PORT" or "WEBPACK_PORT"
LOCALHOST_PORT=
# HTTPS (TLS) Configuration
# If blank, it will default to HTTP instead of using HTTPS
TLS_CERT_FILE=
TLS_KEY_FILE=
# The PostgreSQL database configuration
# If "DB_HOST" is blank, it will default to localhost
# If "DB_PORT" is blank, it will default to 5432 (the default PostgreSQL port)
DB_HOST=
DB_PORT=
DB_USER="hanabiuser"
DB_PASS="1234567890"
DB_NAME="hanabi"
# The Google Drive configuration (for automated database backups)
# If blank, it will skip backing up the database
# Additionally, make sure that the file associated with the service account exists on the file system
# e.g. "/root/.gdrive/hanabi-live-1234567890ab.json"
GOOGLE_DRIVE_SERVICE_ACCOUNT_FILENAME=
GOOGLE_DRIVE_PARENT_DIRECTORY_ID=
# The token from a Discord account used for the bot
# If blank, the Discord bot will not initialize
# https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
# https://discord.com/developers/applications
# The bot needs the following permissions:
# - "Text Permissions - Send Messages" (2048)
# https://discord.com/oauth2/authorize?scope=bot&permissions=2048&client_id=YOUR_CLIENT_ID_HERE
# ATTENTION: The bot's role (e.g. Hanab-Bot) has to be higher than the Ping Crew role
DISCORD_TOKEN=
# A guild is the internal name for a server
DISCORD_GUILD_ID=
DISCORD_CHANNEL_SYNC_WITH_LOBBY=
DISCORD_CHANNEL_WEBSITE_DEVELOPMENT=
DISCORD_CHANNEL_CONVENTION_QUESTIONS=
DISCORD_PING_CREW_ROLE_NAME=
DISCORD_TRUSTED_TEACHER_ROLE_NAME=
# A Google Analytics tracking ID
# If blank, the GA middleware will not be used
# https://analytics.google.com/
GA_TRACKING_ID=
# The Sentry client key (DSN) for the Golang project
# e.g. "https://<key>@sentry.io/<project>"
# If blank, Sentry will not initialize
# https://sentry.io/settings/hanabi-live/projects/hanabi-live-server/keys/
SENTRY_DSN=
# The Sentry specification for uploading JavaScript source-maps
# If blank, WebPack will not upload source-maps
# https://sentry.io/settings/hanabi-live/developer-settings/
SENTRY_AUTH_TOKEN=
SENTRY_ORG="hanabi-live"
SENTRY_PROJECT="hanabi-live-client"