feat: add local dev workflow with hot reload via Traefik
Route dev domain through Traefik to host:3001 instead of Docker container, enabling instant hot reload. Expose PostgreSQL and Redis ports to localhost for local dev server connectivity. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
19e8730d41
commit
9fad8af225
3 changed files with 34 additions and 1 deletions
14
traefik/config/dev-local.yml
Normal file
14
traefik/config/dev-local.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
http:
|
||||
routers:
|
||||
dev-local:
|
||||
rule: "Host(`dev.quest.vorteq.wulf.cloud`)"
|
||||
entrypoints:
|
||||
- websecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
service: dev-local
|
||||
services:
|
||||
dev-local:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://172.17.0.1:3001"
|
||||
Loading…
Add table
Add a link
Reference in a new issue