Skip to content

Commit

Permalink
add: example env
Browse files Browse the repository at this point in the history
  • Loading branch information
genzyy committed Nov 11, 2023
1 parent 89df638 commit 2ea3916
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Port number
PORT=3000

# Environment
ENVIRONMENT=development

# Postgres URL
DATABASE_URL=postgresql://user:[email protected]:5432/my-db

REDIS_URL=redis://user:[email protected]:6379

QUEUE_REDIS_HOST=127.0.0.1
QUEUE_REDIS_PORT=6380

# JWT
JWT_SECRET=<secret>
JWT_ACCESS_EXPIRATION_MINUTES=30
JWT_REFRESH_EXPIRATION_DAYS=6
JWT_RESET_PASSWORD_EXPIRATION_MINUTES=30
JWT_VERIFY_EMAIL_EXPIRATION_MINUTES=30

# Logging
SHOW_SQL_QUERIES=false

0 comments on commit 2ea3916

Please sign in to comment.