foodotfiles/docker/mariadb/docker-compose.yaml

19 lines
368 B
YAML
Raw Normal View History

2020-07-11 09:32:00 +00:00
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
2020-07-11 11:24:47 +00:00
restart: unless-stopped
2020-07-11 09:21:32 +00:00
2020-07-11 09:33:26 +00:00
networks:
2020-07-11 09:34:04 +00:00
mariadb:
2020-07-11 09:33:26 +00:00
external: true