thedocks/caddy/certs.sh

6 lines
166 B
Bash
Raw Normal View History

2022-03-29 22:21:05 +01:00
#!/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 ."