27 lines
566 B
YAML
27 lines
566 B
YAML
version: "0.5"
|
|
|
|
processes:
|
|
postgres:
|
|
command: postgres -D "$PGDATA" -k "$PGDATA" -c listen_addresses=127.0.0.1
|
|
shutdown:
|
|
signal: 2
|
|
readiness_probe:
|
|
exec:
|
|
command: pg_isready -h "$PGDATA"
|
|
initial_delay_seconds: 1
|
|
period_seconds: 2
|
|
|
|
backend:
|
|
command: bash backend/bin/serve
|
|
working_dir: .
|
|
depends_on:
|
|
postgres:
|
|
condition: process_healthy
|
|
availability:
|
|
restart: always
|
|
|
|
frontend:
|
|
command: npm run dev
|
|
working_dir: frontend/rabbi_gerzi
|
|
availability:
|
|
restart: always
|