-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.railway.example
More file actions
34 lines (28 loc) · 929 Bytes
/
env.railway.example
File metadata and controls
34 lines (28 loc) · 929 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
# Railway Environment Variables Template
# Copy these to Railway Dashboard > Your Project > Variables
# Application
NODE_ENV=production
APP_NAME=POS Engine API
VERSION=1.0.0
PORT=3000
# Database (MS SQL Server - Railway supports external DB connections)
# Option 1: Use Railway's built-in PostgreSQL addon
# DB_HOST=your-railway-postgres-host
# DB_NAME=your-railway-database-name
# DB_USERNAME=your-railway-username
# DB_PASSWORD=your-railway-password
# DB_PORT=5432
# Option 2: Use external MS SQL Server (recommended for this project)
DB_HOST=your-mssql-server-host
DB_NAME=your-database-name
DB_USERNAME=your-username
DB_PASSWORD=your-password
DB_PORT=1433
# JWT
JWT_SECRET=your-super-secure-jwt-secret-key-for-production
JWT_EXPIRES_IN=24h
# ONVO Payment Gateway
ONVO_PUB_KEY=your-production-onvo-public-key
ONVO_PRIV_KEY=your-production-onvo-private-key
# Optional: CORS
CORS_ORIGIN=https://your-frontend-domain.com