Skip to content

Commit e54c1d5

Browse files
authored
Update README.md to show simplified dynamic configuration (#313)
* Update README.md to show simplified dynamic configuration The full dynamic configuration can be pretty intimidating as a starting point. Provide a simplified dynamic configuration to get up & running quickly. * Update README.md Set enabled to true
1 parent c2bbc4d commit e54c1d5

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,37 @@ experimental:
536536
```
537537
538538
```yaml
539-
# Dynamic configuration
539+
# Simplified dynamic configuration
540+
541+
http:
542+
routers:
543+
my-router:
544+
rule: host(`whoami.localhost`)
545+
service: service-foo
546+
entryPoints:
547+
- web
548+
middlewares:
549+
- crowdsec
550+
551+
services:
552+
service-foo:
553+
loadBalancer:
554+
servers:
555+
- url: http://127.0.0.1:5000
556+
557+
middlewares:
558+
crowdsec:
559+
plugin:
560+
bouncer:
561+
enabled: true
562+
logLevel: DEBUG
563+
crowdsecMode: live
564+
crowdsecLapiKey: privateKey-foo
565+
crowdsecLapiHost: crowdsec:8080
566+
```
567+
568+
```yaml
569+
# Full dynamic configuration
540570

541571
http:
542572
routers:

0 commit comments

Comments
 (0)