add nix development environment

Provide a direnv-loaded Laravel and future Vue toolchain with isolated worktree ports and a process-compose stack. Use PostgreSQL for local runtime services while retaining in-memory SQLite for PHPUnit.
This commit is contained in:
Yisroel Baum 2026-07-30 22:54:20 +03:00
parent 2d25c28596
commit 83ca2cf43c
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
12 changed files with 345 additions and 13 deletions

17
Caddyfile Normal file
View file

@ -0,0 +1,17 @@
{
auto_https off
admin off
}
localhost:{$CADDY_PORT:8000}, 127.0.0.1:{$CADDY_PORT:8000} {
tls .cert/localhost.pem .cert/localhost-key.pem
handle /storage/* {
root * backend/public
file_server
}
handle {
reverse_proxy 127.0.0.1:{$BACKEND_PORT:8001}
}
}