-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
73 lines (57 loc) · 1.85 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
# All possible variable are not referenced
# The possible variables can be seen in the src/utils/env.ts file
# Indicate Node.js that we are in a development environment
NODE_ENV=development
# Define the port on which to listen
API_PORT=3000
# Define API URL prefix
API_PREFIX=/
# Define the Bearer token used to upload files
UPLOAD_FILE_TOKEN=1234azer
# JsonWebToken configuration
JWT_SECRET=someRandomString64Bytes
JWT_EXPIRES=7 days
# Slack oauth token (begins by xoxb)
SLACK_TOKEN=
SLACK_CONTACT_CHANNEL=
# Database credentials (mysql://user:pass@host/db)
DATABASE_URL=mysql://root:root@localhost/arena
# Used in mail templates
ARENA_WEBSITE=http://localhost:8080
# SMTP server address (smtp://user:password@host(:port)?)
# You can use Nodemailer App (https://nodemailer.com/app/) or mailtrap.io to test the emails
SMTP_URI=smtp://user:pass@address:25/?pool=true&maxConnections=1
GMAIL=false
GMAIL_USERNAME=uttarena@gmail.com
GMAIL_PASSWORD=
MAX_MAILS_PER_BATCH=100
# Used to give a discount on tickets
PARTNER_MAILS=utt.fr,utc.fr,utbm.fr
# Stripe credentials and configuration
STRIPE_PRIVATE_KEY=sk_test_andthenaverylongstringoflettersandnumbers
# Toornament credentials
TOORNAMENT_CLIENT_ID=
TOORNAMENT_CLIENT_SECRET=
TOORNAMENT_KEY=
# Discord
DISCORD_TOKEN=
DISCORD_SERVER=
DISCORD_CLIENT=
DISCORD_SECRET=
LOG_LEVEL=silly
LOG_IN_TEST=false
# Discord Webhooks tournaments (to inform of a team lockout) [https://discordapp.com/api/webhooks/...]
# Use discordapp.com istead of discord.com
DISCORD_WEBHOOK_TOURNAMENT_LOL=
DISCORD_WEBHOOK_TOURNAMENT_SSBU=
DISCORD_WEBHOOK_TOURNAMENT_CS2=
DISCORD_WEBHOOK_TOURNAMENT_POKEMON=
DISCORD_WEBHOOK_TOURNAMENT_RL=
DISCORD_WEBHOOK_TOURNAMENT_OSU=
DISCORD_WEBHOOK_TOURNAMENT_TFT=
DISCORD_WEBHOOK_TOURNAMENT_OPEN=
DISCORD_WEBHOOK_TOURNAMENT_OTHER=
DISCORD_WEBHOOK_CONTACT=
# Some more random variables
API_RATE_LIMIT=12
API_CART_LIFESPAN=3600