2022-08-21 06:19:27 -05:00
|
|
|
version: '2.7'
|
|
|
|
|
2022-08-26 07:59:27 -05:00
|
|
|
rpc:
|
|
|
|
listen: tcp://127.0.0.1:6001
|
|
|
|
|
2022-08-21 06:19:27 -05:00
|
|
|
server:
|
|
|
|
command: 'php ../../bin/roadrunner-worker.php'
|
|
|
|
|
|
|
|
http:
|
|
|
|
address: '0.0.0.0:8080'
|
|
|
|
static:
|
|
|
|
dir: ../../public
|
|
|
|
forbid:
|
|
|
|
- .php
|
|
|
|
- .htaccess
|
|
|
|
pool:
|
2022-08-26 07:59:27 -05:00
|
|
|
num_workers: 3
|
2022-08-21 06:19:27 -05:00
|
|
|
supervisor:
|
|
|
|
max_worker_memory: 100
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
pool:
|
|
|
|
num_workers: 2
|
|
|
|
max_worker_memory: 100
|
2022-08-26 07:59:27 -05:00
|
|
|
timeout: 300
|
|
|
|
consume: ['shlink']
|
|
|
|
pipelines:
|
|
|
|
shlink:
|
|
|
|
driver: memory
|
|
|
|
config:
|
|
|
|
priority: 10
|
|
|
|
prefetch: 10
|
2022-08-21 06:19:27 -05:00
|
|
|
|
|
|
|
logs:
|
|
|
|
mode: development
|
|
|
|
channels:
|
|
|
|
http:
|
2022-08-26 07:59:27 -05:00
|
|
|
level: debug
|
2022-08-21 06:19:27 -05:00
|
|
|
server:
|
2022-08-26 07:59:27 -05:00
|
|
|
level: debug
|
2022-08-21 06:19:27 -05:00
|
|
|
metrics:
|
|
|
|
level: debug
|
|
|
|
|
|
|
|
reload:
|
|
|
|
interval: 1s
|
|
|
|
patterns: ['.php', '.yml', '.yaml']
|
|
|
|
services:
|
|
|
|
http:
|
2022-08-27 01:01:57 -05:00
|
|
|
dirs: ['../../bin', '../../config', '../../data/migrations', '../../docker', '../../module', '../../vendor']
|
2022-08-26 10:58:25 -05:00
|
|
|
recursive: true
|
|
|
|
jobs:
|
2022-08-27 01:01:57 -05:00
|
|
|
dirs: ['../../bin', '../../config', '../../data/migrations', '../../docker', '../../module', '../../vendor']
|
2022-08-21 06:19:27 -05:00
|
|
|
recursive: true
|