version: "3.9" services: mariadb: image: mariadb:11.0.2 container_name: mariadb privileged: true user: root ports: - "3406:3306" volumes: - /volume5/storage/docker-data/mariadb/data/:/var/lib/mysql/ environment: TZ: Asia/Shanghai MARIADB_USER: "" MARIADB_PASSWORD: "" MARIADB_ROOT_PASSWORD: "" restart: always