# Copyright Broadcom, Inc. All Rights Reserved. # SPDX-License-Identifier: APACHE-2.0 services: mysql: image: docker.io/bitnami/mysql:9.5 ports: - '3306:3306' volumes: - 'mysql_data:/bitnami/mysql/data' environment: # ALLOW_EMPTY_PASSWORD is recommended only for development. - ALLOW_EMPTY_PASSWORD=yes healthcheck: test: ['CMD', '/opt/bitnami/scripts/mysql/healthcheck.sh'] interval: 15s timeout: 5s retries: 6 volumes: mysql_data: driver: local