View gist:ee0b25c285cc2fc280e5d2d3a6f855d7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## UPDATE THESE AS NEEDED | |
# This is the path to your certificates | |
CERT_DIR="/etc/mysql/certificates" | |
# This is the name of the systemd service it's renewing for - needed for dependency definition | |
SERVICE_NAME="mariadb" | |
# This is the command that step-cli should run after successfully renewing | |
CYCLE_COMMAND="/usr/bin/mysqladmin flush-ssl" | |
View docker-compose.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.4' | |
services: | |
traefik: | |
image: traefik | |
container_name: traefik | |
cpu_count: 2 | |
mem_limit: 1g | |
ulimits: | |
nproc: 128 | |
nofile: |