For Frontend practice
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Copy and edit values for your production/student environment.
|
||||
|
||||
# API
|
||||
PORT=3000
|
||||
NODE_ENV=production
|
||||
DATABASE_URL=postgresql://webstore_user:webstore_password@db:5432/webstore_db?schema=public
|
||||
JWT_SECRET=change-me-in-real-use
|
||||
JWT_EXPIRES_IN=7d
|
||||
COOKIE_NAME=webstore_token
|
||||
COOKIE_SECURE=false
|
||||
|
||||
# Database container bootstrap
|
||||
POSTGRES_DB=webstore_db
|
||||
POSTGRES_USER=webstore_user
|
||||
POSTGRES_PASSWORD=webstore_password
|
||||
|
||||
# Optional: host port overrides
|
||||
API_PORT=3000
|
||||
DB_PORT=5432
|
||||
Reference in New Issue
Block a user