From 10b4779920a348087be391e2bdb109ec71df824c Mon Sep 17 00:00:00 2001 From: cuigh Date: Tue, 14 Nov 2017 17:30:08 +0800 Subject: [PATCH] Fix document --- README.md | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index c3a1f74..ae752a6 100644 --- a/README.md +++ b/README.md @@ -41,27 +41,29 @@ Swirl is a web management tool for Docker, focused on swarm cluster. ### With config file -All options can be set with `config/app.conf`. +All options can be set with `config/app.yml`. -```xml - - - - - - - - - - - - - - - - - - +```yaml +name: swirl +banner: false + +web: + address: ':8001' + authorize: '?' + +swirl: + db_type: mongo + db_address: localhost:27017/swirl +# docker_endpoint: tcp://docker-proxy:2375 + +log: + loggers: + - level: info + writers: console + writers: + - name: console + type: console + layout: '[{L}]{T}: {M}{N}' ``` ### With environment variables