2019-06-25 16:08:17 +00:00
|
|
|
version: "2.1"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
mysql-server:
|
2019-07-11 14:53:30 +00:00
|
|
|
image: mysql-server:$VERSION_MYSQL
|
2020-02-22 20:25:29 +00:00
|
|
|
#build: "https://git.scimetis.net/yohan/docker-mysql.git"
|
2019-06-25 16:08:17 +00:00
|
|
|
container_name: mysql-server
|
|
|
|
networks:
|
|
|
|
- mysqlnet
|
|
|
|
volumes:
|
2020-02-22 20:25:29 +00:00
|
|
|
- /mnt/volumes/mysql-server_data/data:/var/lib/mysql:Z
|
|
|
|
- /mnt/volumes/mysql-server_dumps/data:/mnt/dumps:Z
|
2019-06-25 16:08:17 +00:00
|
|
|
- ./nettoyer_quotas.sh:/root/nettoyer_quotas.sh:Z
|
2019-07-11 14:53:30 +00:00
|
|
|
- ./debian.cnf:/etc/mysql/debian.cnf:Z
|
2019-06-25 16:08:17 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
|
|
|
|
mysqlnet:
|
|
|
|
external: true
|