add frontend process service
This commit is contained in:
parent
6da83d87fa
commit
188b300a7f
4 changed files with 31 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue