add docker-entrypoint-initdb.d variables for MySQL + MariaDB + Percona
This commit is contained in:
parent
bf60f7520b
commit
02e2454c79
|
@ -200,7 +200,7 @@ services:
|
|||
- TZ=${WORKSPACE_TIMEZONE}
|
||||
volumes:
|
||||
- ${DATA_SAVE_PATH}/mysql:/var/lib/mysql
|
||||
- ./mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
- ${MYSQL_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- "${MYSQL_PORT}:3306"
|
||||
networks:
|
||||
|
@ -218,7 +218,7 @@ services:
|
|||
- MYSQL_ROOT_PASSWORD=${PERCONA_ROOT_PASSWORD}
|
||||
volumes:
|
||||
- ${DATA_SAVE_PATH}/percona:/var/lib/mysql
|
||||
- ./percona/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
- ${PERCONA_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- "${PERCONA_PORT}:3306"
|
||||
networks:
|
||||
|
@ -246,7 +246,7 @@ services:
|
|||
build: ./mariadb
|
||||
volumes:
|
||||
- ${DATA_SAVE_PATH}/mariadb:/var/lib/mysql
|
||||
- ./mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
- ${MARIADB_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- "${MARIADB_PORT}:3306"
|
||||
environment:
|
||||
|
|
|
@ -95,6 +95,7 @@ MYSQL_USER=default
|
|||
MYSQL_PASSWORD=secret
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_ROOT_PASSWORD=root
|
||||
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
|
||||
|
||||
### Percona ############################################################################################################
|
||||
|
||||
|
@ -103,6 +104,7 @@ PERCONA_USER=homestead
|
|||
PERCONA_PASSWORD=secret
|
||||
PERCONA_PORT=3306
|
||||
PERCONA_ROOT_PASSWORD=root
|
||||
PERCONA_ENTRYPOINT_INITDB=./percona/docker-entrypoint-initdb.d
|
||||
|
||||
### MSSQL ##############################################################################################################
|
||||
|
||||
|
@ -117,6 +119,7 @@ MARIADB_USER=default
|
|||
MARIADB_PASSWORD=secret
|
||||
MARIADB_PORT=3306
|
||||
MARIADB_ROOT_PASSWORD=root
|
||||
MARIADB_ENTRYPOINT_INITDB=./mariadb/docker-entrypoint-initdb.d
|
||||
|
||||
### POSTGRES ###########################################################################################################
|
||||
|
||||
|
|
Loading…
Reference in New Issue