add health check

This commit is contained in:
Umputun
2018-01-02 13:28:39 -06:00
parent 8530ef642d
commit 8d10939e11
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ USER umputun
WORKDIR /srv
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s CMD curl --fail http://localhost:8080/ping || exit 1
CMD ["/srv/remark"]
ENTRYPOINT ["/init.sh"]
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2017 Umputun
Copyright (c) 2018 Umputun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal