9557a3b335
- shopify.app.toml -> shopify.app.dev.toml (domain: invoice-app-dev.linumiq.com)
- New shopify.app.prod.toml will be created via shopify app config link --config prod
- docker-compose split into deploy/docker-compose.{dev,prod}.yml with distinct
container names (linumiq-invoice-{dev,prod}), images, env files and bind mounts
- Caddyfile snippet maps both subdomains to their respective containers
- .env.{dev,prod}.example templates committed in deploy/
- deploy/README.md documents the layout and day-to-day workflow
21 lines
847 B
Bash
21 lines
847 B
Bash
# DEV environment for linumiq-invoice (custom app installed on linumiq-dev.myshopify.com).
|
|
# Copy to `.env.dev` on the server (in /docker/linumiq-invoice/dev/) and fill in real values.
|
|
# NEVER commit the real file.
|
|
|
|
# --- Shopify app credentials ---
|
|
# Partner Dashboard → Apps → linumiq-invoice-dev → API credentials.
|
|
SHOPIFY_API_KEY=fbc263e6cc28e8de031878d2a0f17444
|
|
SHOPIFY_API_SECRET=REPLACE_ME
|
|
|
|
# Public URL Shopify uses for OAuth, webhooks and admin embedding. Must match shopify.app.dev.toml.
|
|
SHOPIFY_APP_URL=https://invoice-app-dev.linumiq.com
|
|
|
|
# Must match `scopes` in shopify.app.dev.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.dev.yml (file:/data/prod.sqlite on the bind mount).
|