2023-12-17 21:26:28 +03:00
|
|
|
version: '3'
|
2022-08-21 14:19:27 +03:00
|
|
|
|
2022-08-26 15:59:27 +03:00
|
|
|
rpc:
|
|
|
|
listen: tcp://127.0.0.1:6001
|
|
|
|
|
2022-08-21 14:19:27 +03:00
|
|
|
server:
|
|
|
|
command: 'php -dopcache.enable_cli=1 -dopcache.validate_timestamps=0 ../../bin/roadrunner-worker.php'
|
|
|
|
|
|
|
|
http:
|
2023-06-04 10:07:41 +03:00
|
|
|
address: '0.0.0.0:${PORT:-8080}'
|
2022-08-27 18:27:54 +03:00
|
|
|
middleware: ['static']
|
2022-08-21 14:19:27 +03:00
|
|
|
static:
|
2022-08-27 18:17:37 +03:00
|
|
|
dir: '../../public'
|
|
|
|
forbid: ['.php', '.htaccess']
|
2022-08-21 14:19:27 +03:00
|
|
|
pool:
|
2023-06-04 10:07:41 +03:00
|
|
|
num_workers: ${WEB_WORKER_NUM:-0}
|
2022-08-21 14:19:27 +03:00
|
|
|
|
|
|
|
jobs:
|
2022-08-27 18:17:37 +03:00
|
|
|
timeout: 300 # 5 minutes
|
2022-08-21 14:19:27 +03:00
|
|
|
pool:
|
2023-06-04 10:07:41 +03:00
|
|
|
num_workers: ${TASK_WORKER_NUM:-0}
|
2022-08-26 15:59:27 +03:00
|
|
|
consume: ['shlink']
|
|
|
|
pipelines:
|
|
|
|
shlink:
|
|
|
|
driver: memory
|
|
|
|
config:
|
|
|
|
priority: 10
|
|
|
|
prefetch: 10
|
2022-08-21 14:19:27 +03:00
|
|
|
|
|
|
|
logs:
|
|
|
|
mode: production
|
|
|
|
channels:
|
|
|
|
http:
|
2023-05-07 14:18:19 +03:00
|
|
|
mode: 'off' # Disable logging as Shlink handles it internally
|
2022-08-21 14:19:27 +03:00
|
|
|
server:
|
2023-12-17 21:26:28 +03:00
|
|
|
level: info
|
|
|
|
jobs:
|
|
|
|
level: debug
|