chore: add env template for production deployment
This commit is contained in:
1 parent
c99ff191c1
commit
6cf3c6c7e5
1 file changed
+18
@@ -0,0 +1,18 @@
|
||||
# -------------------------------------------------------------
|
||||
# BackOne Deep Package Inspection - Secure Production Env
|
||||
# -------------------------------------------------------------
|
||||
# The frontend Next.js rewrite will proxy /api to this URL.
|
||||
# Since frontend and backend are in the same Docker network,
|
||||
# we can use the internal hostname 'backend' and internal port 3001.
|
||||
NEXT_PUBLIC_API_URL=http://backend:3001
|
||||
|
||||
# The backend port must match what the container runs on
|
||||
BACKEND_PORT=3001
|
||||
|
||||
# Allowed origins should be the actual domain where it will be hosted
|
||||
# Change 'demoplace.com' to your actual domain
|
||||
ALLOWED_ORIGINS=http://demoplace.com,https://demoplace.com
|
||||
|
||||
# Standard security tokens (Change these before deploying to prod!)
|
||||
JWT_SECRET=super_secret_production_key_123!
|
||||
NETIFY_API_KEY=your_netify_api_key_here
|
||||
Reference in new issue
Block a user