7fe0cc3753
Near-1:1 clone of the prod remote-access stack, isolated on a new external dev_edge network and fronted by the same shared Caddy instance (dual-homed on edge + dev_edge). Dev is manual-start (not on boot). - Hostnames: app-dev / api-dev .linumiq.net, tunnels under *.dev.linumiq.net, dev tunnel ingress on port 7001. - Dev Supabase (project supabase-dev, *-dev containers), web, frps, redis, stripe-stub, bandwidth-worker with fresh independent secrets (gitignored). - Shared Caddyfile: app-dev -> web-dev, api-dev -> dev kong (+webhook block), *.dev -> frps-dev vhost. Caddy compose dual-homed on dev_edge. - On-demand-TLS authorizer (prod check-subdomain, in gitignored volumes/) extended additively: app-dev/api-dev -> 200; *.dev delegated to the dev authorizer. Prod allow-list logic unchanged. - dev.sh manual up/down/ps helper; README documents topology + secrets. Secrets, frps.toml, volumes/, web worktree and data dirs are gitignored.
14 lines
436 B
YAML
14 lines
436 B
YAML
# Dev override: attach kong + edge functions to the external "dev_edge" network
|
|
# so the shared Caddy and the dev frps can reach them by DNS name, and set the
|
|
# dev tunnel base domain for the on-demand-TLS authorizer + frps auth plugin.
|
|
services:
|
|
kong:
|
|
networks: [default, dev_edge]
|
|
functions:
|
|
networks: [default, dev_edge]
|
|
environment:
|
|
TUNNEL_BASE_DOMAIN: dev.linumiq.net
|
|
networks:
|
|
dev_edge:
|
|
external: true
|