mirror of
https://github.com/bitnami/containers.git
synced 2026-02-20 23:07:33 +08:00
Merge pull request #33 from tompizmor/master
Set ALLOW_EMPTY_PASSWORD env var for mariadb image
This commit is contained in:
@@ -2,6 +2,8 @@ version: '2'
|
||||
services:
|
||||
mariadb:
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
- 'mariadb_data:/bitnami/mariadb'
|
||||
jasperreports:
|
||||
|
||||
@@ -29,7 +29,9 @@ version: '2'
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: bitnami/mariadb:latest
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
- mariadb_data:/bitnami/mariadb
|
||||
jasperreports:
|
||||
@@ -117,7 +119,7 @@ In this case you need to specify the directories to mount on the run command. Th
|
||||
2. Create a MariaDB container with host volume:
|
||||
|
||||
```bash
|
||||
$ docker run -d --name mariadb \
|
||||
$ docker run -d --name mariadb -e ALLOW_EMPTY_PASSWORD=yes \
|
||||
--net jasperreports-tier \
|
||||
--volume /path/to/mariadb-persistence:/bitnami/mariadb \
|
||||
bitnami/mariadb:latest
|
||||
|
||||
@@ -2,6 +2,8 @@ version: '2'
|
||||
services:
|
||||
mariadb:
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
- 'mariadb_data:/bitnami/mariadb'
|
||||
jasperreports:
|
||||
|
||||
Reference in New Issue
Block a user