Files
Php-Template/.rr.yaml
Ron Rise 18a182f3cd
Some checks failed
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Failing after 18s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Failing after 30s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Failing after 19s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Failing after 13s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Failing after 3s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Failing after 23s
feat: implement gRPC Greeter service with example proto and enhance makefile
2025-12-04 00:04:57 -05:00

38 lines
748 B
YAML

version: "3"
server:
command: "php server.php"
rpc:
listen: tcp://127.0.0.1:6001
grpc:
listen: "tcp://0.0.0.0:9001"
pool:
command: "php grpc-worker.php"
num_workers: ${GRPC_WORKERS:-4}
allocate_timeout: 5s
reset_timeout: 5s
destroy_timeout: 5s
stream_timeout: 5s
reflection: ${GRPC_REFLECTION:-true}
health_check: ${GRPC_HEALTH_CHECK:-true}
proto:
- "protos/example.proto"
http:
pool:
allocate_timeout: 5s
reset_timeout: 5s
destroy_timeout: 5s
stream_timeout: 5s
num_workers: ${WORKERS:-4}
debug: ${DEBUG:-false}
address: 0.0.0.0:${HTTP_PORT:-9501}
access_logs: ${ACCESS_LOGS:-true}
logs:
encoding: json
level: ${LOG_LEVEL:-info}
mode: ${LOG_MODE:-production}