platform/devops/docker/services/docker-compose-mysql.yml

20 lines
275 B
YAML
Raw Permalink Normal View History

services:
mysql:
image: mysql:latest
restart: "no"
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=Qwerty
volumes:
- "mysql:/var/lib/mysql"
networks:
- appnet
volumes:
mysql:
driver: local
networks:
appnet: