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
|
|
@ -36,6 +36,8 @@ services:
|
|||
restart: unless-stopped
|
||||
networks:
|
||||
- web
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_MULTIPLE_DATABASES: vorteq_dev,vorteq_test,vorteq_prod
|
||||
|
|
@ -55,6 +57,8 @@ services:
|
|||
restart: unless-stopped
|
||||
networks:
|
||||
- web
|
||||
ports:
|
||||
- "127.0.0.1:6379:6379"
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
healthcheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue