thedocks/caddy/certs.sh
2022-03-29 22:26:08 +01:00

6 lines
166 B
Bash
Executable File

#!/bin/bash
# extract keys
mkdir ~/backup
docker run --rm --volumes-from caddy -v `pwd`/backup:/backup ubuntu bash -c "cd /data && tar cvf /backup/caddy-data.tar ."