-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenv.template
More file actions
97 lines (83 loc) · 3.78 KB
/
env.template
File metadata and controls
97 lines (83 loc) · 3.78 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# MongoDB Configuration
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/print-service
# For MongoDB Atlas: mongodb+srv://username:password@cluster.mongodb.net/print-service
# Razorpay Configuration (Test Mode)
RAZORPAY_KEY_ID=rzp_test_RCiRwJabL53V19
RAZORPAY_KEY_SECRET=R6HWVxbdrLF6z551y4W0s86v
RAZORPAY_WEBHOOK_SECRET=your_razorpay_webhook_secret
# Storage Provider Selection
# Options: 'oracle' or 'cloudinary'
# Default: 'cloudinary' (for backward compatibility)
STORAGE_PROVIDER=oracle
# Cloudinary Configuration (for backward compatibility or fallback)
CLOUDINARY_CLOUD_NAME=da8lufst0
CLOUDINARY_API_KEY=347763997782253
CLOUDINARY_API_SECRET=2Nojmn92DMEwudehmkOxT5PIzks
# Oracle Cloud Infrastructure (OCI) Configuration
# Get these from: https://cloud.oracle.com/
# Free Tier: 20GB object storage (10GB standard + 10GB infrequent access)
# No file size limits, no API call limits
OCI_TENANCY_OCID=ocid1.tenancy.oc1..your_tenancy_ocid
OCI_USER_OCID=ocid1.user.oc1..your_user_ocid
OCI_FINGERPRINT=aa:bb:cc:dd:ee:ff:00:11:22:33:44:55:66:77:88:99
# Option 1: Path to private key file (recommended for local development)
OCI_PRIVATE_KEY_PATH=~/.oci/oci_api_key.pem
# Option 2: Private key content as environment variable (recommended for cloud deployment)
# OCI_PRIVATE_KEY=-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----
OCI_REGION=us-ashburn-1
# Get namespace from: OCI Console > Object Storage > Bucket Details
OCI_NAMESPACE=your_namespace
OCI_BUCKET_NAME=print-service-files
# Optional: Compartment OCID (defaults to tenancy OCID if not set)
# OCI_COMPARTMENT_OCID=ocid1.compartment.oc1..your_compartment_ocid
# NextAuth Configuration
NEXTAUTH_SECRET=your_nextauth_secret_key_here
NEXTAUTH_URL=http://localhost:3000
# Google OAuth Configuration
# Get these from: https://console.developers.google.com/
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
# Admin Configuration
ADMIN_EMAIL=adityapandey.dev.in@gmail.com
ADMIN_PASSWORD=admin123
# Cron Job Configuration
CRON_SECRET=your_cron_secret_key_here
# Razorpay Fallback Configuration
# This enables automatic checking of pending payments every 10 minutes
RAZORPAY_FALLBACK_ENABLED=true
# Email Configuration for Notifications
EMAIL_HOST=smtp.gmail.com
EMAIL_HOST_USER=adityapandey.dev.in@gmail.com
EMAIL_HOST_PASSWORD=hagbaiwzqltgfflz
EMAIL_PORT=587
EMAIL_USER=adityapandey.dev.in@gmail.com
EMAIL_USE_TLS=True
# Adobe PDF Services API Configuration (FREE)
# Get these from: https://developer.adobe.com/console/
ADOBE_CLIENT_ID=176fe130ca3a4097b2fc0bbe3bce84ff
ADOBE_CLIENT_SECRET=p8e-MHcne7I87bxieLPG9Rqq359WigYd_zm5
ADOBE_ORG_ID=8FC5223168B68B8A0A495C88@AdobeOrg
ADOBE_ACCOUNT_ID=8784223C68B68C600A495C6C@techacct.adobe.com
# Cloudmersive Document Conversion API Configuration (FREE - 800 conversions/month)
# Get your API key from: https://cloudmersive.com/
CLOUDMERSIVE_API_KEY=7c36c419-d157-4bc0-a1ac-02d4fe3fb767
# Printer API Configuration
# Array of printer API URLs (JSON format)
# For local development: ["http://localhost:3001"]
# For cloud deployment with ngrok: ["https://barrie-navigable-unresponsibly.ngrok-free.dev"]
# For multiple printers: ["https://printer1.ngrok-free.dev", "https://printer2.ngrok-free.dev"]
PRINTER_API_URLS=["https://barrie-navigable-unresponsibly.ngrok-free.dev"]
PRINTER_API_TIMEOUT=5000
PRINTER_API_KEY=dev_key_123
INVOICE_ENABLED=true
RETRY_QUEUE_ENABLED=true
# === Shiprocket Shipping Integration ===
# Your Shiprocket login credentials (used for API token generation)
SHIPROCKET_EMAIL=
SHIPROCKET_PASSWORD=
# Pickup location name as configured in your Shiprocket dashboard
SHIPROCKET_PICKUP_LOCATION=Primary
# Default package weight in kg (used when creating shipments)
SHIPROCKET_DEFAULT_WEIGHT=0.5
# Pickup pincode (your dispatch location)
SHIPROCKET_PICKUP_PINCODE=263139