You've already forked php-auth
generated from siteworxpro/Php-Template
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Has started running
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Has started running
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Has been cancelled
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Has started running
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Has started running
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Has started running
40 lines
778 B
YAML
40 lines
778 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}
|
|
debug: ${DEBUG:-false}
|
|
reflection: ${GRPC_REFLECTION:-true}
|
|
destroy_timeout: 5s
|
|
proto:
|
|
- "protos/example.proto"
|
|
|
|
http:
|
|
middleware: [ "static" ]
|
|
static:
|
|
dir: "public/"
|
|
allow: [ ".css", ".js", ".ico", ".webmanifest", ".png" ]
|
|
|
|
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} |