Added restart policy to other options (#1831)

* restart policy

* Update formatting

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
This commit is contained in:
throny 2022-07-07 15:07:08 +02:00 committed by GitHub
parent 14068e6c4a
commit d62209edf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -148,6 +148,12 @@ web:
- ./_data:/var/lib/mysql
```
```yaml
# automatically restart container
restart: unless-stopped
# always, on-failure, no (default)
```
## Advanced features
{: .-three-column}