-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.toml.template
More file actions
40 lines (32 loc) · 955 Bytes
/
project.toml.template
File metadata and controls
40 lines (32 loc) · 955 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
# Copy to project.toml and fill in your values.
# project.toml is gitignored — never commit secrets.
[project]
name = "myapp"
title = "My App"
[database]
url = "sqlite:./app.db"
[server]
host = "127.0.0.1"
port = 8080
[gui]
port = 3030
[admin_gui]
port = 3031
[auth]
# HS256 signing secret — use a random 32+ byte value in production.
# Override at runtime with: JWT_SECRET=<value>
jwt_secret = "change-me-in-production"
# Access tokens are short-lived; there is no revocation check on every request.
access_token_minutes = 15
# Refresh tokens use fixed (not sliding) expiry.
refresh_token_days = 30
otp_expiry_minutes = 15
[email]
# Resend API key — override at runtime with: RESEND_API_KEY=<value>
resend_api_key = "re_your_api_key_here"
from_address = "noreply@example.com"
[deploy]
server_ip = "203.0.113.10"
ssh_user = "deploy"
domain_name = "example.com"
letsencrypt_email = "admin@example.com"