foodotfiles/docker/mariadb/docker-compose.yaml
2020-07-11 14:24:47 +03:00

19 lines
368 B
YAML

version: "3"
services:
mariadb:
container_name: mariadb
image: mariadb
environment:
- TZ=Europe/Helsinki
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
networks:
- mariadb
volumes:
- /docker/mariadb:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
networks:
mariadb:
external: true