platform/docker/docker-compose-mariadb.yml

21 lines
300 B
YAML
Raw Normal View History

2022-07-16 02:44:49 +00:00
version: "3.8"
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: