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:
parent
14068e6c4a
commit
d62209edf3
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue