add frontend process service

This commit is contained in:
Yisroel Baum 2026-07-31 10:41:04 +03:00
parent 6da83d87fa
commit 188b300a7f
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
4 changed files with 31 additions and 7 deletions

View file

@ -44,6 +44,21 @@ processes:
initial_delay_seconds: 2
period_seconds: 10
frontend:
command: >-
npm run dev --
--host 127.0.0.1
--port ${VITE_PORT:-5173}
--strictPort
working_dir: ./frontend/website
readiness_probe:
http_get:
host: 127.0.0.1
port: ${VITE_PORT:-5173}
path: /
initial_delay_seconds: 1
period_seconds: 2
caddy:
command: caddy run --config Caddyfile --adapter caddyfile
depends_on: