salix/db/docker/docker-structure.sh

19 lines
408 B
Bash
Executable File

#!/bin/bash
. /usr/local/bin/docker-entrypoint.sh
CMD=mysqld
mysql_check_config "$CMD"
docker_setup_env "$CMD"
docker_create_db_directories
docker_verify_minimum_env
docker_init_database_dir "$CMD"
docker_temp_server_start "$CMD"
docker_setup_db
docker_process_init_files /docker-entrypoint-initdb.d/*
docker-dump.sh structure
docker-dump.sh mockDate
docker-dump.sh dumpedFixtures
docker_temp_server_stop