auto db backup script

This commit is contained in:
danielgroen
2021-03-02 13:05:12 +01:00
parent 7f415803fb
commit fef92891cb
3 changed files with 46 additions and 1 deletions

10
config/mysql/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM mysql:5
ENV force_color_prompt yes
RUN apt-get update;
RUN apt-get install -y cron;
ENTRYPOINT \
service cron start; \
printenv | grep -v "no_proxy" >> /etc/environment; \
docker-entrypoint.sh mysqld