-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env.example
69 lines (55 loc) · 1.87 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
NODE_ENV="development" # Prod: production
DOCKER="/usr/local/bin/docker" # Prod: $ whereis docker
# Domains & URLs
PUBLIC_BASE_DOMAIN="ssn.local"
PUBLIC_WEBSITE_URL="http://ssn.local"
PUBLIC_DASHBOARD_URL="http://id.ssn.local/dashboard"
PUBLIC_IDENTITY_URL="http://id.ssn.local"
PUBLIC_GATEKEEPER_URL="http://gk.ssn.local"
PUBLIC_RCON_URL="ws://rcon.ssn.local"
LOCAL_IDENTITY_URL="http://identity-web:3000"
LOCAL_COMMANDER_URL="http://minecraft-main:25574"
# Identity
PUBLIC_REGISTER_ENABLED=true
PUBLIC_REGISTER_INVITE_ONLY=false
PUBLIC_REGISTER_INVITES_PER_USER=3
# Warehouse & Clients
DATABASE_URL="postgresql://doceazedo:VERY-SECURE-DATABASE-PASSWORD@warehouse:5432/whdb?schema=public"
POSTGRES_USER="doceazedo"
POSTGRES_PASSWORD="VERY-SECURE-DATABASE-PASSWORD"
POSTGRES_DB="whdb"
# Default Warehouse data
WH_DEFAULT_ADMIN_EMAIL="[email protected]"
WH_DEFAULT_ADMIN_USERNAME="DoceAzedo"
WH_DEFAULT_ADMIN_PASSWORD="senha123"
# Gatekeeper
GK_REDIS_HOST="gatekeeper-redis"
GK_REDIS_PORT=6379
GK_REDIS_PASSWORD="VERY-SECURE-DATABASE-PASSWORD"
GK_REDIS_URL="redis://:VERY-SECURE-DATABASE-PASSWORD@gatekeeper-redis"
# Catraca
CATRACA_IDENTITY_TOKEN="PLEASE-CHANGE-ME-I-AM-VERY-INSECURE"
# Commander
COMMANDER_TOKEN="PLEASE-CHANGE-ME-I-AM-VERY-INSECURE"
# Discord
PUBLIC_DISCORD_CLIENT_ID="831633286799032330"
DISCORD_CLIENT_SECRET=""
DISCORD_TOKEN=""
# Volume mount points
MNT_WAREHOUSE="warehouse" # Prod: /mnt/warehouse
MNT_GATEKEEPER="gatekeeper" # Prod: /mnt/gatekeeper
# Server RAM allocation
RAM_MIN="2048M"
RAM_MAX="4096M" # Prod: 16384M
# Cloudflare
PUBLIC_CF_TURNSTILE_SITE_KEY=""
CF_TURNSTILE_SECRET_KEY=""
# Sengrid
SENDGRID_API_KEY=""
SENDGRID_FROM="[email protected]"
# MercadoPago
MERCADOPAGO_ACCESS_TOKEN=""
MERCADOPAGO_WEBHOOK_SIGNATURE=""
# Not being used atm but probably should
COOKIE_SECRET="PLEASE-CHANGE-ME-I-AM-VERY-INSECURE"
CIPHER_SECRET="32-LONG-SECRET-NOT-SECURE-AT-ALL"