forked from jihe520/mindpocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (42 loc) · 1.51 KB
/
.env.example
File metadata and controls
54 lines (42 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
52
53
54
# ============================================
# MindPocket Docker Environment Variables
# Copy to .env for local personal Docker usage.
# Docker Compose also reads values from your shell environment.
# ============================================
# ---------- Required ----------
# Web service port on the host
PORT=3000
# Public app URL
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Auth secret
# For personal local usage, the compose file defaults to mindpocket-local-dev-secret.
# Replace it if you want a custom value.
BETTER_AUTH_SECRET=mindpocket-local-dev-secret
# ---------- Optional ----------
# Built-in pgvector PostgreSQL defaults
# Docker Compose uses these values when no external database is configured.
# POSTGRES_USER=mindpocket
# POSTGRES_PASSWORD=mindpocket
# POSTGRES_DB=mindpocket
# External database
# Option 1: provide a full connection string
# DATABASE_URL=postgresql://user:password@db.example.com:5432/mindpocket?sslmode=require
# Option 2: provide database parts
# If omitted, the app defaults to the built-in PostgreSQL container at postgres:5432.
# DB_HOST=db.example.com
# DB_PORT=5432
# DB_USER=mindpocket
# DB_PASSWORD=mindpocket
# DB_NAME=mindpocket
# PostgreSQL SSL mode, for example: require / prefer / disable
# DB_SSLMODE=require
# Better Auth callback URL, defaults to NEXT_PUBLIC_APP_URL when omitted
# BETTER_AUTH_URL=http://localhost:3000
# File storage
# BLOB_READ_WRITE_TOKEN=
# Cache / queue
# REDIS_URL=
# KV_REST_API_READ_ONLY_TOKEN=
# KV_REST_API_TOKEN=
# KV_REST_API_URL=
# KV_URL=