-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
40 lines (34 loc) · 997 Bytes
/
Copy path.env.example
File metadata and controls
40 lines (34 loc) · 997 Bytes
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
# Core app
ASPNETCORE_ENVIRONMENT=Development
ASPNETCORE_URLS=http://+:8080
API_PORT=8080
# Postgres
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=food4studentnext
# JWT (dev defaults are set in compose; override in non-dev)
JWT_SIGNING_KEY=dev-food4studentnext-docker-change-this-sign-key-min-length-256-bits!!
JWT_ISSUER=Food4StudentNext
JWT_AUDIENCE=Food4StudentNextClients
JWT_ACCESS_TOKEN_MINUTES=120
JWT_REFRESH_TOKEN_DAYS=14
# Email verification
AUTH_EMAIL_CODE_EXPIRY_MINUTES=15
# Password reset (6-digit code email)
AUTH_PASSWORD_RESET_CODE_EXPIRY_MINUTES=15
SMTP_HOST=mailpit
SMTP_PORT=1025
SMTP_USE_SSL=false
SMTP_USE_STARTTLS=false
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_FROM_ADDRESS=no-reply@food4student.local
SMTP_FROM_NAME=Food4Student
# Dev Mailpit host ports
MAILPIT_SMTP_PORT=1025
MAILPIT_UI_PORT=8025
# External auth
# If AUTH_EXTERNAL_GOOGLE_ENABLED=true, GOOGLE_CLIENT_ID is required.
AUTH_EXTERNAL_GOOGLE_ENABLED=false
GOOGLE_CLIENT_ID=