21
11/24
docker-compose安装phpmyadmin
docker-compose.yml version : '3' services: mysql: container_name: mysql image: docker.m.daocloud.io/mysql:5.7 build: context: ./mysql ports: - "3306:3306" volumes: - ./mysql/conf/my.cnf:/etc/mysql/my.cnf - ./mysql/logs:/logs - ./mysql/data:/var/lib/mysql - ./mysql/init-sql/:/docker-entrypoint-initdb.d command: [ '--character-set-server=utf8mb4', '--collation-server=utf8mb4_gen...