-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
48 lines (35 loc) · 1.75 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
# This file holds environment variables, available to the server to use.
# The server will use these variables in order to configure what it's doing.
# This is an example file, rename this file to ".env" for it to work.
###############################################################################
## GENERAL SETTINGS
# If set to "true", the logger will output more information
VERBOSE=false
# If you're using this as a production server, please keep this as "production".
# If you're using this for development, set it to "development".
NODE_ENV=production
###############################################################################
## SERVER SETTINGS
# The listen type. Can be "tcp" or "socket"
LISTEN=tcp
# If you'd rather use an IPC connection put the path to the socket here.
# This is highly recommended if you use a reverse proxy, as it can double your connection speed in some cases.
# If you set this, you must also set the LISTEN to "socket".
#SOCKET=/tmp/server.sock
# Determines the port and hostname the server will listen on.
# Set to 0 if you want a system-allocated dynamic port. (32768–60999 on many Linux kernels, 49152–65535 per IANA recommendation)
# If you set this, you must also set the LISTEN to "tcp".
PORT=8080
HOST=127.0.0.1
# See: http://expressjs.com/en/4x/api.html#trust.proxy.options.table
TRUST_PROXY=false
###############################################################################
## DATABASE SETTINGS
# PostgreSQL database connection string.
DATABASE_URL=postgres://username:password@localhost:5432/database
# Determines if the database driver will log queries.
DATABASE_LOG=false
###############################################################################
## API KEYS
# The API key for YouTube Data API v3.
YOUTUBE_API_KEY=