Skip to content

Commit 1d622bd

Browse files
committed
Add .env.production for deployment builds
- Include production environment configuration in repository - Ensures wallet URL is properly configured during build process - Required for automated deployment scripts that clone and build
1 parent 69d1169 commit 1d622bd

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

.env.production

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Production Environment Configuration
2+
# Panel integrated into relay server
3+
4+
# Demo mode (set to false for production)
5+
REACT_APP_DEMO_MODE=false
6+
7+
# Direct wallet service access
8+
REACT_APP_WALLET_BASE_URL=http://localhost:9003
9+
10+
# Router configuration (empty since served from relay server root)
11+
REACT_APP_BASENAME=
12+
PUBLIC_URL=
13+
14+
# Asset serving configuration (optional - adjust for your domain)
15+
# REACT_APP_ASSETS_BUCKET=https://your-domain.com
16+
17+
# Nostr relay configuration for profile fetching
18+
# REACT_APP_OWN_RELAY_URL= # ✅ Auto-detected from current domain
19+
# REACT_APP_NOSTR_RELAY_URLS=wss://your-relay1.com,wss://your-relay2.com
20+
21+
# Development optimizations
22+
ESLINT_NO_DEV_ERRORS=true
23+
TSC_COMPILE_ON_ERROR=true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
.env.development.local
2323
.env.test.local
2424
.env.production.local
25-
.env.production
25+
2626

2727
npm-debug.log*
2828
yarn-debug.log*

0 commit comments

Comments
 (0)