Update to include MARIADB_VERSION in env file which sets the mariadb version (#2185)
This commit is contained in:
parent
01eb934863
commit
4e257c8e8f
|
@ -401,6 +401,7 @@ services:
|
||||||
- http_proxy
|
- http_proxy
|
||||||
- https_proxy
|
- https_proxy
|
||||||
- no_proxy
|
- no_proxy
|
||||||
|
- MARIADB_VERSION=${MARIADB_VERSION}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH_HOST}/mariadb:/var/lib/mysql
|
- ${DATA_PATH_HOST}/mariadb:/var/lib/mysql
|
||||||
- ${MARIADB_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
|
- ${MARIADB_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
|
||||||
|
|
|
@ -269,6 +269,7 @@ MSSQL_PORT=1433
|
||||||
|
|
||||||
### MARIADB ###############################################
|
### MARIADB ###############################################
|
||||||
|
|
||||||
|
MARIADB_VERSION=latest
|
||||||
MARIADB_DATABASE=default
|
MARIADB_DATABASE=default
|
||||||
MARIADB_USER=default
|
MARIADB_USER=default
|
||||||
MARIADB_PASSWORD=secret
|
MARIADB_PASSWORD=secret
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
FROM mariadb:latest
|
ARG MARIADB_VERSION=latest
|
||||||
|
FROM mariadb:${MARIADB_VERSION}
|
||||||
|
|
||||||
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue