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

20 lines
285 B
YAML
Raw Permalink Normal View History

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