add file case for integration test instructions & cleanup instructions (#17)
This commit is contained in:
parent
cb339fafef
commit
43ebd1bed3
@ -19,6 +19,8 @@ go run integrationtest/loader.go
|
|||||||
## Run certs dumper without watching
|
## Run certs dumper without watching
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
traefik-certs-dumper file
|
||||||
|
|
||||||
# http://localhost:8500/ui/
|
# http://localhost:8500/ui/
|
||||||
traefik-certs-dumper kv consul --endpoints localhost:8500
|
traefik-certs-dumper kv consul --endpoints localhost:8500
|
||||||
|
|
||||||
@ -31,12 +33,22 @@ traefik-certs-dumper kv zookeeper --endpoints localhost:2181
|
|||||||
|
|
||||||
## Run certs dumper with watching
|
## Run certs dumper with watching
|
||||||
|
|
||||||
While watching is enabled, run `loader.go` again for KV backends or manipulate `./acme.json` for file backend that change events are triggered.
|
While watching is enabled, manipulate `./acme.json` for file backend or run `loader.go` again for KV backends so that change events are triggered.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
traefik-certs-dumper file --watch
|
||||||
|
|
||||||
traefik-certs-dumper kv consul --watch --endpoints localhost:8500
|
traefik-certs-dumper kv consul --watch --endpoints localhost:8500
|
||||||
|
|
||||||
traefik-certs-dumper kv etcd --watch --endpoints localhost:2379
|
traefik-certs-dumper kv etcd --watch --endpoints localhost:2379
|
||||||
|
|
||||||
traefik-certs-dumper kv zookeeper --watch --endpoints localhost:2181
|
traefik-certs-dumper kv zookeeper --watch --endpoints localhost:2181
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Cleanup
|
||||||
|
|
||||||
|
- Stop backends
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker-compose -f integrationtest/docker-compose.yml down
|
||||||
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user