Skip to content

Commit

Permalink
Fix docker-compose syntax in quick-start. GH #1105 (#1169)
Browse files Browse the repository at this point in the history
* Fix docker-compose syntax in quick-start. GH #1105

* use new mkdocs tabs

* fix indentation for tabs

Co-authored-by: nils måsén <[email protected]>
  • Loading branch information
atombrella and piksel authored Dec 27, 2021
1 parent 93ccce8 commit 2fa8a2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,16 @@ and restart it with the same options that were used when it was deployed initial
the following command:

=== "docker run"

```bash
$ docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower
```

=== "docker-compose.yml"

```yaml
version: "3"
services:
Expand Down
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ markdown_extensions:
user: containrrr
repo: watchtower
- pymdownx.saneheaders
- pymdownx.tabbed
- pymdownx.tabbed:
alternate_style: true
nav:
- 'Home': 'index.md'
- 'Introduction': 'introduction.md'
Expand Down

0 comments on commit 2fa8a2a

Please sign in to comment.