Skip to content

Add a development docker-compose with auto-reload#62

Merged
kernelcoffee merged 1 commit into
masterfrom
dev/compose_dev
Jul 21, 2026
Merged

Add a development docker-compose with auto-reload#62
kernelcoffee merged 1 commit into
masterfrom
dev/compose_dev

Conversation

@kernelcoffee

Copy link
Copy Markdown
Owner

docker-compose.dev.yml runs both halves from bind-mounted source: uvicorn --reload on :8000 and the Vite dev server (HMR) on :5173, with dependencies cached in named volumes and dev data isolated in ./config-dev. The Vite proxy target is now overridable via VITE_PROXY_TARGET so the frontend container can reach the backend service; plain local dev keeps the localhost default. The production docker-compose.yml is untouched.

docker-compose.dev.yml runs both halves from bind-mounted source:
uvicorn --reload on :8000 and the Vite dev server (HMR) on :5173, with
dependencies cached in named volumes and dev data isolated in
./config-dev. The Vite proxy target is now overridable via
VITE_PROXY_TARGET so the frontend container can reach the backend
service; plain local dev keeps the localhost default. The production
docker-compose.yml is untouched.
@kernelcoffee
kernelcoffee merged commit 4871b99 into master Jul 21, 2026
6 checks passed
@kernelcoffee
kernelcoffee deleted the dev/compose_dev branch July 21, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant