-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
51 lines (39 loc) · 1.51 KB
/
.env.example
File metadata and controls
51 lines (39 loc) · 1.51 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# =================================
# Voltgres Configuration
# =================================
# Tip: Run ./install.sh to generate this file interactively.
# Auth secret — generate one with: openssl rand -base64 32
BETTER_AUTH_SECRET=change-me-generate-a-random-secret
# App URL — set to your domain in production
BETTER_AUTH_URL=http://localhost:3000
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Domain for automatic HTTPS via Caddy (e.g. db.example.com)
# Leave empty for localhost / HTTP-only
DOMAIN=
# IP whitelist (space-separated IPs/CIDRs, only used with Caddy/HTTPS)
# Example: ALLOWED_IPS=203.0.113.5 10.0.0.0/8
# Leave empty for public access
ALLOWED_IPS=
# Allow public registration (default: false — only admin can create accounts)
# ALLOW_REGISTRATION=false
# Google OAuth (optional — leave blank to disable)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
NEXT_PUBLIC_GOOGLE_ENABLED=false
# =================================
# Bundled PostgreSQL
# =================================
# Credentials for the bundled PostgreSQL container
POSTGRES_USER=postgres
POSTGRES_PASSWORD=voltgres
POSTGRES_DB=postgres
# Expose PostgreSQL on this host port (default: 5432)
# Change if 5432 is already in use on the host
POSTGRES_PORT=5432
# =================================
# Advanced
# =================================
# Host port for the Voltgres web UI when no domain is set (default: 3000)
VOLTGRES_PORT=3000
# SQLite database path (inside the container — generally don't change this)
# VOLTGRES_DB_PATH=/app/data/voltgres.db