For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
version: '3' | |
services: | |
mysqldb: | |
image: mysql:5.7.22 | |
container_name: mysql_container_name | |
restart: always | |
ulimits: | |
nproc: 65535 | |
nofile: | |
soft: 20000 |
#!/bin/bash | |
# ensure running bash | |
if ! [ -n "$BASH_VERSION" ];then | |
echo "this is not bash, calling self with bash...."; | |
SCRIPT=$(readlink -f "$0") | |
/bin/bash $SCRIPT | |
exit; | |
fi | |