Skip to content

Commit

Permalink
upgrade roudrunner bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ad3n committed May 21, 2021
1 parent a5087b6 commit f825940
Show file tree
Hide file tree
Showing 7 changed files with 914 additions and 582 deletions.
38 changes: 29 additions & 9 deletions .rr.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
include:
- .rr.yaml
server:
command: "php bin/console baldinof:roadrunner:worker"

http:
address: 0.0.0.0:8080
middleware: [ "static", "gzip" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
dir: "public"
forbid: [ ".php", ".htaccess" ]

logs:
mode: development
channels:
http:
level: debug # Log all http requests, set to info to disable
server:
level: info # Everything written to worker stderr is logged
mode: raw
metrics:
level: debug

reload:
enabled: true
interval: 1s
patterns: [".php"]
services:
http:
dirs: ["."]
recursive: true
enabled: true
interval: 1s
patterns: [".php", ".yaml"]
services:
http:
dirs: ["."]
recursive: true
30 changes: 21 additions & 9 deletions .rr.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
server:
command: "php bin/console baldinof:roadrunner:worker"

http:
address: "0.0.0.0:8080"
uploads:
forbid: [".php", ".exe", ".bat"]
workers:
command: "php bin/console baldinof:roadrunner:worker"
relay: "unix://var/roadrunner.sock"
static:
dir: "public"
forbid: [".php", ".htaccess"]
address: 0.0.0.0:8080
middleware: [ "static", "gzip" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
dir: "public"
forbid: [ ".php", ".htaccess" ]

logs:
mode: production
channels:
http:
level: debug # Log all http requests, set to info to disable
server:
level: info # Everything written to worker stderr is logged
mode: raw
metrics:
level: error
Loading

0 comments on commit f825940

Please sign in to comment.