platform/doc/deployment/docker/docker-compose-mysql.yml
2024-07-15 07:35:19 +08:00

19 lines
275 B
YAML

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: