Skip to content

Commit

Permalink
docs: fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Dec 5, 2024
1 parent d18ae5e commit ee3231c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/docker-compose-traefik-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
traefik-certs-dumper:
image: ldez/traefik-certs-dumper:v2.8.1
entrypoint: sh -c '
; while ! [ -e /data/acme.json ]
while ! [ -e /data/acme.json ]
|| ! [ `jq ".Certificates | length" /data/acme.json` != 0 ]; do
sleep 1
; done
Expand Down
2 changes: 1 addition & 1 deletion docs/docker-compose-traefik-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
traefik-certs-dumper:
image: ldez/traefik-certs-dumper:v2.8.3
entrypoint: sh -c '
; while ! [ -e /data/acme.json ]
while ! [ -e /data/acme.json ]
|| ! [ `jq ".[] | .Certificates | length" /data/acme.json` != 0 ]; do
sleep 1
; done
Expand Down
4 changes: 1 addition & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,14 @@ For the former, create a file (ex: `hook.sh`) and mount it, then pass `sh hooksh
Here is a docker-compose example:

```yml
version: '3.9'

services:
# ...

traefik-certs-dumper:
image: ldez/traefik-certs-dumper:v2.8.1
container_name: traefik-certs-dumper
entrypoint: sh -c '
; while ! [ -e /data/acme.json ]
while ! [ -e /data/acme.json ]
|| ! [ `jq ".[] | .Certificates | length" /data/acme.json` != 0 ]; do
sleep 1
; done
Expand Down

0 comments on commit ee3231c

Please sign in to comment.