platform/docker/docker-compose-mysql.yml

21 lines
290 B
YAML
Raw Normal View History

2022-07-16 02:44:49 +00:00
version: "3.8"
services:
mysql:
image: mysql:latest
restart: "no"
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=Qwerty
volumes:
- "mysql:/var/lib/mysql"
networks:
- webnet
volumes:
mysql:
driver: local
networks:
webnet: