mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-23 13:23:33 +03:00
40 lines
648 B
YAML
40 lines
648 B
YAML
version: '3.0'
|
|
|
|
rpc:
|
|
listen: tcp://127.0.0.1:6001
|
|
|
|
server:
|
|
command: 'php ../../bin/roadrunner-worker.php'
|
|
|
|
http:
|
|
address: '0.0.0.0:8080'
|
|
middleware: ['static']
|
|
static:
|
|
dir: '../../public'
|
|
forbid: ['.php', '.htaccess']
|
|
pool:
|
|
num_workers: 1
|
|
debug: true
|
|
|
|
jobs:
|
|
pool:
|
|
num_workers: 1
|
|
debug: true
|
|
timeout: 300
|
|
consume: ['shlink']
|
|
pipelines:
|
|
shlink:
|
|
driver: memory
|
|
config:
|
|
priority: 10
|
|
prefetch: 10
|
|
|
|
logs:
|
|
mode: development
|
|
channels:
|
|
http:
|
|
mode: 'off' # Disable logging as Shlink handles it internally
|
|
server:
|
|
level: debug
|
|
metrics:
|
|
level: debug
|