-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (25 loc) · 787 Bytes
/
.env.example
File metadata and controls
32 lines (25 loc) · 787 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
# Database
DATABASE_URL=postgresql://notesaner:notesaner_dev@localhost:5432/notesaner
# ValKey (Redis-compatible)
VALKEY_URL=valkey://localhost:6379
# JWT
JWT_SECRET=change-me-in-production-use-openssl-rand-base64-32
JWT_ACCESS_TTL=15m
JWT_REFRESH_TTL=7d
# Server
SERVER_PORT=4000
SERVER_HOST=0.0.0.0
CORS_ORIGIN=http://localhost:3000
# Notes Storage
NOTES_STORAGE_PATH=./data/notes
# Next.js
NEXT_PUBLIC_API_URL=http://localhost:4000
NEXT_PUBLIC_WS_URL=ws://localhost:4000
# SAML (optional)
# SAML_ENTITY_ID=https://notesaner.example.com
# SAML_SSO_URL=https://keycloak.example.com/auth/realms/corp/protocol/saml
# SAML_CERTIFICATE_PATH=/certs/idp.pem
# OIDC (optional)
# OIDC_ISSUER=https://authentik.example.com/application/o/notesaner/
# OIDC_CLIENT_ID=
# OIDC_CLIENT_SECRET=