Joachim Lusiardi
a57fa08340
Container can be started with empty data directory. After using docker exec the commands from the NOTES file can be used to create a first cert and additional certs after that.
11 lines
178 B
Bash
11 lines
178 B
Bash
#!/bin/bash
|
|
|
|
|
|
if [ -s /data/haproxy/cert.pem ]
|
|
then
|
|
# ssl cert seems to exist, so start with
|
|
/usr/sbin/haproxy -f /haproxy_ssl.conf -p /haproxy.pid -db
|
|
else
|
|
bash
|
|
fi
|