Repository navigation
Expand file tree
/
Copy pathenv.develop
More file actions
59 lines (49 loc) · 2.29 KB
/
Copy pathenv.develop
File metadata and controls
59 lines (49 loc) · 2.29 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
55
56
57
58
59
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL="mysql://creator:creator@localhost:3306/creator"
SHADOW_DATABASE_URL="mysql://creator:creator@localhost:3306/creatorshadow"
NEXTAUTH_URL=http://localhost:3000
# generate with `openssl rand -base64 32`
NEXTAUTH_SECRET=pf7ccHIZDAts5ZmZmaFdAALKZouyZ1MKcNb2n4w5g0c=
HOST=0.0.0.0
# This is used for direct links to the root domain from subdomains.
NEXT_PUBLIC_ROOT_DOMAIN=http://localhost:3000
# LNBITS settings
INVOICE_AMOUNT=21
# set to true if using LNBITS for payments
PAYMENTS_ENABLED=false
LNBITS_ADMIN_KEY=xxx
LNBITS_INVOICE_READ_KEY=xxx
LNBITS_ENDPOINT=https://xxx
# PUBKEY for nostr authentication to the deployment APIs
# you don't have to worry about this if you're developing on the web side (only backend)
#
# to setup:
# generate a new SECRET key with `openssl rand -hex 32` and save it for use with the cookiecutter client
# find the PUBKEY for this key and enter it below -or- just use your pubkey for development
DEPLOY_PUBKEY=xxx
# haproxy settings
NEXT_PUBLIC_CREATOR_DOMAIN=example.com
HAPROXY_PEM=localhost.pem
HAPROXY_STATS_USER=haproxy
HAPROXY_STATS_PASS=haproxy
# interceptor proxy port setting
INTERCEPTOR_PORT=9696
# --- Signup sunset / migration (optional, all default OFF) ---
# When unset, the app behaves exactly as before: signups fully enabled.
#
# Disables NEW relay signups: hides the create-relay UI (build-time; requires
# a rebuild to take effect) AND blocks the creation API (runtime). Existing
# relays are unaffected: topups, client memberships, and NIP-05 orders keep
# working.
# NEXT_PUBLIC_SIGNUPS_DISABLED=true
#
# Server-only override to block the creation API immediately without a rebuild:
# SIGNUPS_DISABLED=true
#
# Optional successor-site promotion: replaces the landing hero and adds CTA
# links on the signup notice, nav, and dashboard pointing to the new site.
# NEXT_PUBLIC_MIGRATION_URL=https://example.com
# NEXT_PUBLIC_MIGRATION_NAME=Example