Go to file
2019-07-11 23:03:13 +02:00
crontab-example Initial commit. 2019-06-25 18:08:17 +02:00
docker-compose.yml Added building from git repos. Added launch script with secrets retrieval. 2019-07-11 16:53:30 +02:00
nettoyer_quotas.sh Initial commit. 2019-06-25 18:08:17 +02:00
README Initial commit. 2019-06-25 18:08:17 +02:00
start_or_update.sh Fixed bug. 2019-07-11 23:03:13 +02:00

Why ?
pour centraliser la sauvegarde et l'administration des BDD
 
Si première utilisation :

docker network create mysqlnet
docker volume create --name mysql-server_data
docker volume create --name mysql-server_dumps
rsync -itrlpgovDHXP var_lib_mysql/* /var/lib/docker-latest/volumes/mysql-server_data/_data/
chcon -Rt svirt_sandbox_file_t /var/lib/docker-latest/volumes/mysql-server_data/_data/
chcon -Rt svirt_sandbox_file_t /var/lib/docker-latest/volumes/mysql-server_dumps/_data/

Utilisation :

Les droits des fichiers doivent être corrigés avant de lancer la stack avec docker-compose up -d :
chcon -u system_u -r object_r -t svirt_sandbox_file_t crontab
chcon -u system_u -r object_r -t svirt_sandbox_file_t nettoyer_quotas.sh