This commit is contained in:
Dobromir Popov
2024-03-13 04:16:57 +02:00
parent 5ac9e7e602
commit c12a69a805

View File

@ -55,7 +55,8 @@ services:
networks:
- infrastructure_default
command: |
"apk add --no-cache mysql-client curl && \
"apk update && \
apk add --no-cache mariadb-client mariadb-connector-c && \
echo '0 2 * * * mysqldump -h $$MYSQL_HOST -P 3306 -u$$MYSQL_USER -p$$MYSQL_PASSWORD $$MYSQL_DATABASE > /backup/$$(date +\\%Y-\\%m-\\%d-\\%H\\%M\\%S)-$$MYSQL_DATABASE.sql' > /etc/crontabs/root && \
crond -f -d 8"
# wget -q https://github.com/prasmussen/gdrive/releases/download/2.1.0/gdrive-linux-x64 -O /usr/bin/gdrive && \