version: '3' services: ###> doctrine/doctrine-bundle ### database: image: mysql:8.0 ports: - '3306:3306' volumes: - 'mysql_data:/var/lib/mysql' environment: MYSQL_ROOT_PASSWORD: 'empty' ###< doctrine/doctrine-bundle ### volumes: ###> doctrine/doctrine-bundle ### mysql_data: ###< doctrine/doctrine-bundle ###