-
Notifications
You must be signed in to change notification settings - Fork 61
/
env.TEMPLATE
74 lines (59 loc) · 2.59 KB
/
env.TEMPLATE
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
## Template .env file for the API, copy this to a new file in this directory called .env to use.
## The only value this is REQUIRED is STEAM_WEB_API_KEY - this needs to be defined for
## the API to load. The others can be left unmodified, and sensible defaults will be used.
# Required for dev, the Steam API web key (you can get it from https://steamcommunity.com/dev/apikey)
STEAM_WEB_API_KEY=
# Set this if you want the db:seed script can automatically make you an admin.
# Split with commas to add multiple.
ADMIN_STEAM_ID64S=
# Set this to any additional Docker Compose profiles you want to use, available are:
# pgadmin - pgAdmin 4 on localhost:5050
COMPOSE_PROFILES=
# What mode to run the API in. In every all cases, leave this as `dev` and let NPM scripts
# or Docker Compose override it for you.
NODE_ENV=dev
# What address the Nest API instance listens on
NEST_PORT=3000
# Root domain for everything, then specific sub-URLs.
# Only needed for production, in dev/tests we use localhost and hardcoded ports.
ROOT_DOMAIN=
FRONTEND_URL=
BACKEND_URL=
# Include the bucket name, defaults to https://localhost:9000/momtest
CDN_URL=
# The secret used for generating JWTs
JWT_SECRET=THIS_IS_NOT_A_SECURE_SECRET_DO_NOT_USE_IT_IN_PRODUCTION
# Whether to use the authenticated tickets library, "true" to enable.
# Requires a secret only visible to core team and is only used in production - not relevant to developers.
STEAM_USE_ENCRYPTED_TICKETS=
# If the above is true, this value is the secret key to use for decrypting the ticket
STEAM_TICKETS_SECRET=
# Whether to prevent limited accounts from signing up
STEAM_PREVENT_LIMITED=
# A generated secret for cookies and encrypted sessions
SESSION_SECRET=honga_suggested_it_make_some_cha
# Postgres config
POSTGRES_USER=root
POSTGRES_PASSWORD=root
POSTGRES_DB=momentum
POSTGRES_PORT=5432
# URL used by Prisma's database connector. This is only used in local mode,
# in Docker mode we use the above variables - see docker-compose.override.yml
DATABASE_URL=postgresql://root:root@localhost/momentum?schema=public
# Cloud storage variables - use these defaults for a local MinIO instance, but you can use any remote S3 bucket instead.
STORAGE_REGION=us-west-1
STORAGE_BUCKET_NAME=momtest
STORAGE_ACCESS_KEY_ID=minio
STORAGE_SECRET_ACCESS_KEY=minio123
STORAGE_ENDPOINT_URL=http://localhost:9000
# MinIO-specific login stuff. Use http://localhost:9001 to view the bucket.
MINIO_SERVER_PORT=9000
MINIO_CONSOLE_PORT=9001
MINIO_ROOT_USER=minio
MINIO_ROOT_PASSWORD=minio123
# Sentry (production only)
SENTRY_DSN=
SENTRY_ENABLE_TRACING=
SENTRY_TRACE_SAMPLE_RATE=
SENTRY_TRACE_PRISMA=
SENTRY_ENV=