mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-11 16:57:12 +02:00
Add autoheal label to enable use of companion container restarting unhealthy container #454
This commit is contained in:
parent
1970f54b88
commit
81e21c7de5
@ -62,6 +62,9 @@ ENV REVISION=${REVISION:-""}
|
||||
LABEL org.opencontainers.image.source=https://github.com/haugene/docker-transmission-openvpn
|
||||
LABEL org.opencontainers.image.revision=$REVISION
|
||||
|
||||
# Compatability with https://hub.docker.com/r/willfarrell/autoheal/
|
||||
LABEL autoheal=true
|
||||
|
||||
# Expose port and run
|
||||
EXPOSE 9091
|
||||
CMD ["dumb-init", "/etc/openvpn/start.sh"]
|
||||
|
@ -61,6 +61,9 @@ ENV OPENVPN_USERNAME=**None** \
|
||||
|
||||
HEALTHCHECK --interval=1m CMD /etc/scripts/healthcheck.sh
|
||||
|
||||
# Compatability with https://hub.docker.com/r/willfarrell/autoheal/
|
||||
LABEL autoheal=true
|
||||
|
||||
# Expose port and run
|
||||
EXPOSE 9091
|
||||
CMD ["dumb-init", "/etc/openvpn/start.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user