mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-30 10:51:21 +03:00
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
version: '3'
|
|
|
|
###############################################################################################
|
|
# It's important to keep this file in the project root, otherwise code coverage does not work #
|
|
# See https://github.com/orgs/roadrunner-server/discussions/1440#discussioncomment-8486186 #
|
|
###############################################################################################
|
|
|
|
rpc:
|
|
listen: tcp://127.0.0.1:6001
|
|
|
|
server:
|
|
command: 'php ./bin/roadrunner-worker.php'
|
|
|
|
http:
|
|
address: '0.0.0.0:9999'
|
|
middleware: ['static']
|
|
static:
|
|
dir: './public'
|
|
forbid: ['.php', '.htaccess']
|
|
pool:
|
|
num_workers: 1
|
|
debug: false
|
|
|
|
jobs:
|
|
pool:
|
|
num_workers: 1
|
|
debug: false
|
|
timeout: 300
|
|
consume: ['shlink']
|
|
pipelines:
|
|
shlink:
|
|
driver: memory
|
|
config:
|
|
priority: 10
|
|
prefetch: 10
|
|
|
|
logs:
|
|
encoding: json
|
|
mode: development
|
|
channels:
|
|
http:
|
|
mode: 'off' # Disable logging as Shlink handles it internally
|
|
server:
|
|
encoding: json
|
|
level: info
|
|
metrics:
|
|
level: panic
|
|
jobs:
|
|
level: panic
|