25 lines
636 B
Plaintext
25 lines
636 B
Plaintext
# Do not touch this port - it is local, if you want to change port - change it in docker-compose.yml
|
|
PORT=3000
|
|
# Replace with `production`
|
|
NODE_ENV=development
|
|
|
|
DB_HOST=IP-OR-DOMAIN
|
|
DB_PORT=DATABASE_PORT
|
|
|
|
DB_NAME=DATABASE_NAME
|
|
|
|
DB_USER=USERNAMME
|
|
DB_PASS=PASSWORD
|
|
|
|
# You can keep this value by default for test env, but this not recommended.
|
|
JWT_SECRET=supersecretjwt
|
|
# JWT token live duration.
|
|
JWT_EXPIRES=7d
|
|
|
|
# If you running this project through docker - DO NOT MODITY THIS VARIABLE
|
|
UPLOAD_DIR=uploads
|
|
|
|
# Replace it by `http://[public ip or domain]:[public port, not local (PORT env variable)]`
|
|
PUBLIC_BASE_URL=http://localhost:3000
|
|
|