-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.sample
More file actions
37 lines (26 loc) · 1.46 KB
/
.env.sample
File metadata and controls
37 lines (26 loc) · 1.46 KB
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
# .env.sample - Environment Variables Configuration
# Copy this file to .env and fill in the values.
# ------------------------------------------------------------------------------
# 1. Application Configuration
# ------------------------------------------------------------------------------
# The base URL where your application is accessible (used for magic links)
APP_BASE_URL=http://localhost:5173
# The port on which the Express server will listen (default: 5173)
APP_PORT=5173
# Secret key used for signing JWTs and other security features.
# TIP: You can use `openssl rand -hex 32` to generate a secure random key.
APP_SECRET=YOUR_APP_SECRET_KEY
# ------------------------------------------------------------------------------
# 2. Email Configuration (App Side)
# ------------------------------------------------------------------------------
# The SMTP connection URL used by the application to send emails.
# If commented out or empty, the app will log magic links to the CONSOLE.
# Example for local Mailpit: smtp://mailpit:1025
# SMTP_URL=smtp://mailpit:1025
# ------------------------------------------------------------------------------
# 3. Mailpit Configuration (Docker/Infrastructure)
# ------------------------------------------------------------------------------
# Port to access the Mailpit Web Dashboard from your host machine (default: 8025)
# MP_UI_PORT=8025
# Port to access the Mailpit SMTP server from your host machine (default: 1025)
# MP_SMTP_PORT=1025