java-tutorials/persistence-modules/hibernate-libraries/docker-compose.yml

20 lines
437 B
YAML
Raw Permalink Normal View History

2020-04-25 07:01:34 -04:00
version: '3.2'
services:
mysql:
image: mysql:5.7
container_name: mysql57
restart: unless-stopped
ports:
- 53306:3306
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=true
volumes :
- ./docker/etc/mysql/conf.d:/etc/mysql/conf.d
- ./docker/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "1"