This commit is contained in:
2022-04-18 11:21:20 +08:00
commit 45a7af638f
210 changed files with 8997 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
version: "3.7"
services:
mysql:
image: harbor.colben.cn/general/mysql:8
container_name: mysql
restart: "on-failure"
stop_grace_period: 5m
privileged: true
networks:
mysql:
ports:
- 3306:3306
volumes:
- type: bind
source: ./mysql/my.cnf
target: /etc/my.cnf
- type: bind
source: ./mysql/binlog
target: /var/lib/mysql-bin
- type: bind
source: ./mysql/db
target: /var/lib/mysql
- type: bind
source: ./mysql/log
target: /var/log/mysql