24 lines
960 B
Bash
24 lines
960 B
Bash
# PROD environment for linumiq-invoice (custom app installed on shop.linumiq.com / 5aiizq-ti.myshopify.com).
|
|
# Copy to `.env.prod` on the server (in /docker/linumiq-invoice/prod/) and fill in real values.
|
|
# NEVER commit the real file.
|
|
|
|
# --- Shopify app credentials ---
|
|
# Partner Dashboard → Apps → linumiq-invoice (prod) → API credentials.
|
|
SHOPIFY_API_KEY=REPLACE_ME
|
|
SHOPIFY_API_SECRET=REPLACE_ME
|
|
|
|
# Public URL Shopify uses for OAuth, webhooks and admin embedding. Must match shopify.app.prod.toml.
|
|
SHOPIFY_APP_URL=https://invoice-app.linumiq.com
|
|
|
|
# Single-merchant lock-in: only this myshopify domain may install the app.
|
|
ALLOWED_SHOP=5aiizq-ti.myshopify.com
|
|
|
|
# Must match `scopes` in shopify.app.prod.toml.
|
|
SCOPES=read_orders,write_orders,read_all_orders,read_customers,read_companies,read_files,write_files
|
|
|
|
# --- Runtime ---
|
|
NODE_ENV=production
|
|
PORT=3000
|
|
|
|
# DATABASE_URL is set in docker-compose.prod.yml (file:/data/prod.sqlite on the bind mount).
|