mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 05:27:22 +08:00
Merge pull request #81 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'
|
||||
wordpress:
|
||||
|
||||
@@ -31,7 +31,9 @@ version: '2'
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: bitnami/mariadb:latest
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
- mariadb_data:/bitnami/mariadb
|
||||
wordpress:
|
||||
@@ -77,7 +79,7 @@ If you want to run the application manually instead of using `docker-compose`, t
|
||||
|
||||
```bash
|
||||
$ docker volume create --name mariadb_data
|
||||
$ docker run -d --name mariadb \
|
||||
$ docker run -d --name mariadb -e ALLOW_EMPTY_PASSWORD=yes \
|
||||
--net wordpress-tier \
|
||||
--volume mariadb_data:/bitnami/mariadb \
|
||||
bitnami/mariadb:latest
|
||||
@@ -113,7 +115,9 @@ The following `docker-compose.yml` template demonstrates the use of host directo
|
||||
version: '2'
|
||||
services:
|
||||
mariadb:
|
||||
image: bitnami/mariadb:latest
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
- /path/to/mariadb-persistence:/bitnami/mariadb
|
||||
wordpress:
|
||||
@@ -138,7 +142,7 @@ services:
|
||||
|
||||
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 wordpress-tier \
|
||||
--volume /path/to/mariadb-persistence:/bitnami/mariadb \
|
||||
bitnami/mariadb:latest
|
||||
@@ -233,7 +237,9 @@ version: '2'
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: bitnami/mariadb:latest
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
- mariadb_data:/bitnami/mariadb
|
||||
wordpress:
|
||||
|
||||
@@ -2,6 +2,8 @@ version: '2'
|
||||
services:
|
||||
mariadb:
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
- 'mariadb_data:/bitnami/mariadb'
|
||||
wordpress:
|
||||
|
||||
Reference in New Issue
Block a user