include healthcheck in default actions
This commit is contained in:
+25
-3
@@ -1,10 +1,16 @@
|
||||
version: '2'
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
voltronic-mqtt:
|
||||
|
||||
build: .
|
||||
#image: bushrangers/ha-voltronic-mqtt
|
||||
# We're now (finally) supporting Multi-Arch builds (via Github actions) on Docker Hub!
|
||||
# image: bushrangers/ha-voltronic-mqtt
|
||||
|
||||
# Uncomment if you want to build your own local version.
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.dev
|
||||
|
||||
|
||||
container_name: voltronic-mqtt
|
||||
|
||||
@@ -26,3 +32,19 @@ services:
|
||||
- /dev/ttyS0:/dev/ttyS0
|
||||
- /dev/ttyS1:/dev/ttyS1
|
||||
- /dev/ttyS2:/dev/ttyS2
|
||||
|
||||
# Used to auto-update images as we release new versions...
|
||||
watchtower:
|
||||
# Please see the following for configuration options:
|
||||
# https://containrrr.github.io/watchtower/container-selection/
|
||||
image: containrrr/watchtower
|
||||
container_name: watchtower
|
||||
|
||||
restart: always
|
||||
privileged: true
|
||||
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
command: --interval 500
|
||||
|
||||
|
||||
Reference in New Issue
Block a user