Fixed container healthcheck
This commit is contained in:
parent
91dd8e2376
commit
da5d12342d
6
Dockerfile
Normal file → Executable file
6
Dockerfile
Normal file → Executable file
@ -5,8 +5,8 @@ COPY ./config /config
|
|||||||
RUN mkdir -p /data && \
|
RUN mkdir -p /data && \
|
||||||
apk --no-cache add curl
|
apk --no-cache add curl
|
||||||
|
|
||||||
HEALTHCHECK CMD curl -f http://localhost:8080/health || exit 1
|
HEALTHCHECK CMD curl -f http://localhost:8088/health || exit 1
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8088
|
||||||
|
|
||||||
CMD [ "node", "/app/index.js" ]
|
CMD [ "node", "/app/index.js" ]
|
||||||
|
|||||||
0
code/data.json
Normal file → Executable file
0
code/data.json
Normal file → Executable file
0
code/index.js
Normal file → Executable file
0
code/index.js
Normal file → Executable file
0
code/lib/data.js
Normal file → Executable file
0
code/lib/data.js
Normal file → Executable file
0
code/lib/handlers.js
Normal file → Executable file
0
code/lib/handlers.js
Normal file → Executable file
0
code/lib/logger.js
Normal file → Executable file
0
code/lib/logger.js
Normal file → Executable file
0
code/lib/time.js
Normal file → Executable file
0
code/lib/time.js
Normal file → Executable file
0
code/node_modules/.package-lock.json
generated
vendored
Normal file → Executable file
0
code/node_modules/.package-lock.json
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/.npmignore
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/.npmignore
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/.travis.yml
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/.travis.yml
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/LICENSE
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/LICENSE
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/README.md
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/README.md
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/accounting.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/accounting.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/decode.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/decode.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2865
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2865
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2866
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2866
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2867
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2867
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2868
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2868
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2869
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc2869
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc3162
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc3162
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc3576
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc3576
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc3580
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc3580
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4072
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4072
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4372
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4372
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4603
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4603
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4675
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4675
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4679
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4679
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4818
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4818
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4849
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc4849
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5090
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5090
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5176
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5176
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5580
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5580
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5607
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5607
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5904
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/dictionaries/dictionary.rfc5904
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/examples/auth_client.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/examples/auth_client.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/examples/auth_server.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/examples/auth_server.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/lib/radius.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/lib/radius.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/package.json
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/package.json
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/short_password.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/short_password.js
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/aruba_mac_auth.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/aruba_mac_auth.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/cisco_accounting.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/cisco_accounting.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/cisco_accounting_response.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/cisco_accounting_response.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/cisco_mac_auth.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/cisco_mac_auth.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/cisco_mac_auth_reject.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/cisco_mac_auth_reject.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/eap_request.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/eap_request.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/invalid_register.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/invalid_register.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/motorola_accounting.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/captures/motorola_accounting.packet
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.airespace
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.airespace
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.aruba
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.aruba
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.number_vendor_name
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.number_vendor_name
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.test1
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.test1
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.test2
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.test2
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.test_tunnel_type
generated
vendored
Normal file → Executable file
0
code/node_modules/radius/test/dictionaries/dictionary.test_tunnel_type
generated
vendored
Normal file → Executable file
0
code/package-lock.json
generated
Normal file → Executable file
0
code/package-lock.json
generated
Normal file → Executable file
0
code/package.json
Normal file → Executable file
0
code/package.json
Normal file → Executable file
0
config/config.json
Normal file → Executable file
0
config/config.json
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user