From 6d2b2f4a793fe6f9321fa5ed164af1fd3520e01b Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 27 Feb 2019 15:13:49 -0800 Subject: Simplify local Docker image build --- docker/usr/local/bin/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/usr') diff --git a/docker/usr/local/bin/entrypoint.sh b/docker/usr/local/bin/entrypoint.sh index 61ce9207..5618b4bc 100755 --- a/docker/usr/local/bin/entrypoint.sh +++ b/docker/usr/local/bin/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -#generate a new self signed SSL certificate when none is provided in the volume +# Generate a new self signed SSL certificate when none is provided in the volume if [ ! -f /etc/nginx/ssl/kanboard.key ] || [ ! -f /etc/nginx/ssl/kanboard.crt ] then openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/kanboard.key -out /etc/nginx/ssl/kanboard.crt -subj "/C=GB/ST=London/L=London/O=Self Signed/OU=IT Department/CN=kanboard.org" -- cgit v1.2.3