bitnami-containers/bitnami/mysql/docker-compose.yml

19 lines
348 B
YAML

version: '2'
services:
mysql:
image: 'bitnami/mysql:latest'
labels:
kompose.service.type: nodeport
ports:
- '3306:3306'
volumes:
- 'mysql_data:/bitnami'
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
volumes:
mysql_data:
driver: local