fix(docker): fix ca entrypoint logic and healthcheck

With this commit, it is advised to `rm ./data/root_ca.crt ./data/*.pem`,
as new certificates and a root CA will be generated while utilizing the
step volume.

Closes #367

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-08-13 23:17:53 -07:00
parent 6f7ac33166
commit d63615a994
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 34 additions and 40 deletions

View file

@ -1,2 +1,2 @@
exec printf "" 2>>/dev/null >>/dev/tcp/127.0.0.1/8443
#!/bin/bash
exec curl -qkiI 'https://localhost:8443/'