Fix docker-compose syntax in quick-start. GH #1105 (#1169)

* Fix docker-compose syntax in quick-start. GH #1105

* use new mkdocs tabs

* fix indentation for tabs

Co-authored-by: nils måsén <nils@piksel.se>
pull/1292/head
Mads Jensen 3 years ago committed by GitHub
parent 93ccce8ed2
commit 2fa8a2ad0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,13 +45,16 @@ and restart it with the same options that were used when it was deployed initial
the following command: the following command:
=== "docker run" === "docker run"
```bash ```bash
$ docker run -d \ $ docker run -d \
--name watchtower \ --name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower containrrr/watchtower
``` ```
=== "docker-compose.yml" === "docker-compose.yml"
```yaml ```yaml
version: "3" version: "3"
services: services:

@ -23,7 +23,8 @@ markdown_extensions:
user: containrrr user: containrrr
repo: watchtower repo: watchtower
- pymdownx.saneheaders - pymdownx.saneheaders
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
nav: nav:
- 'Home': 'index.md' - 'Home': 'index.md'
- 'Introduction': 'introduction.md' - 'Introduction': 'introduction.md'

Loading…
Cancel
Save