mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-26 18:24:03 +02:00
some testing and small enhancements
This commit is contained in:
@@ -95,6 +95,9 @@ ENV DEBIAN_FRONTEND="teletype" \
|
||||
SETUID=1000 \
|
||||
TZ="Europe/Berlin"
|
||||
|
||||
# Expose default admin ui port
|
||||
EXPOSE 8081
|
||||
|
||||
# Healthcheck
|
||||
HEALTHCHECK --interval=15s --timeout=5s --retries=5 \
|
||||
CMD ["/bin/bash", "-c", "/opt/scripts/healthcheck.sh"]
|
||||
|
||||
@@ -96,6 +96,7 @@ then
|
||||
then
|
||||
echo "Registering maintenance script as command."
|
||||
echo "alias maintenance=\'/opt/scripts/maintenance.sh\'" >> /root/.bashrc
|
||||
echo "alias maint=\'/opt/scripts/maintenance.sh\'" >> /root/.bashrc
|
||||
echo "Done."
|
||||
echo ' '
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user