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'
|
2022-08-27 10:27:54 -05:00
|
|
|
middleware: ['static']
|
2022-08-21 06:19:27 -05:00
|
|
|
static:
|
2022-08-27 10:17:37 -05:00
|
|
|
dir: '../../public'
|
|
|
|
forbid: ['.php', '.htaccess']
|
2022-08-21 06:19:27 -05:00
|
|
|
pool:
|
2022-09-17 04:27:56 -05:00
|
|
|
num_workers: 1
|
2022-08-21 06:19:27 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
pool:
|
2022-09-17 04:27:56 -05:00
|
|
|
num_workers: 1
|
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:
|
2023-05-07 06:18:19 -05:00
|
|
|
mode: 'off' # Disable logging as Shlink handles it internally
|
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
|
2022-08-27 02:09:14 -05:00
|
|
|
patterns: ['.php']
|
2022-08-21 06:19:27 -05:00
|
|
|
services:
|
|
|
|
http:
|
2022-08-27 06:01:38 -05:00
|
|
|
dirs: ['../../bin', '../../config', '../../data/migrations', '../../module', '../../vendor']
|
2022-08-26 10:58:25 -05:00
|
|
|
recursive: true
|
|
|
|
jobs:
|
2022-08-27 06:01:38 -05:00
|
|
|
dirs: ['../../bin', '../../config', '../../data/migrations', '../../module', '../../vendor']
|
2022-08-21 06:19:27 -05:00
|
|
|
recursive: true
|