platform/docker/docker-compose-mariadb.yml
2024-06-23 11:15:41 +08:00

19 lines
285 B
YAML

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