version: "2.1" services: mysql-server: image: mysql-server:$VERSION_MYSQL #build: "https://git.scimetis.net/yohan/docker-mysql.git" container_name: mysql-server networks: - mysqlnet volumes: - /mnt/volumes/mysql-server_data/data:/var/lib/mysql:Z - /mnt/volumes/mysql-server_dumps/data:/mnt/dumps:Z - ./nettoyer_quotas.sh:/root/nettoyer_quotas.sh:Z - ./debian.cnf:/etc/mysql/debian.cnf:Z networks: mysqlnet: external: true