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
19 lines
613 B
Caddyfile
19 lines
613 B
Caddyfile
# Append to your existing Caddyfile (or include via `import`).
|
|
# DNS A/AAAA records for both subdomains must point to this server first
|
|
# (a wildcard *.linumiq.com record is sufficient).
|
|
#
|
|
# Caddy runs in Docker on the `caddy_net` network and reaches each app by
|
|
# container name (the apps do not publish host ports).
|
|
|
|
# DEV — installed on linumiq-dev.myshopify.com
|
|
invoice-app-dev.linumiq.com {
|
|
encode zstd gzip
|
|
reverse_proxy linumiq-invoice-dev:3000
|
|
}
|
|
|
|
# PROD — installed on shop.linumiq.com (5aiizq-ti.myshopify.com)
|
|
invoice-app.linumiq.com {
|
|
encode zstd gzip
|
|
reverse_proxy linumiq-invoice-prod:3000
|
|
}
|