update documentation to reflect the fact....

..that MariaDB is now the default DB as outlined by remy on this post 
https://community.passbolt.com/t/how-to-setup-with-mariadb/1125/6?u=jace
This commit is contained in:
Jace Manshadi 2018-10-22 17:48:01 -07:00 committed by GitHub
parent 9fb0c5bca2
commit 1413ca4886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 9 deletions

View File

@ -37,10 +37,10 @@ docker image with the default passbolt credentials.
```bash ```bash
$ docker run -e MYSQL_ROOT_PASSWORD=<root_password> \ $ docker run -e MYSQL_ROOT_PASSWORD=<root_password> \
-e MYSQL_DATABASE=<mysql_database> \ -e MYSQL_DATABASE=<mariadb_database> \
-e MYSQL_USER=<mysql_user> \ -e MYSQL_USER=<mariadb_user> \
-e MYSQL_PASSWORD=<mysql_password> \ -e MYSQL_PASSWORD=<mariadb_password> \
mysql mariadb
``` ```
Then you can start passbolt just by providing the database container ip in the Then you can start passbolt just by providing the database container ip in the
@ -48,10 +48,12 @@ Then you can start passbolt just by providing the database container ip in the
```bash ```bash
$ docker run --name passbolt \ $ docker run --name passbolt \
-e DATASOURCES_DEFAULT_HOST=<mysql_container_host> \ -p 80:80
-e DATASOURCES_DEFAULT_PASSWORD=<mysql_password> \ -p 443:443
-e DATASOURCES_DEFAULT_USERNAME=<mysql_user> \ -e DATASOURCES_DEFAULT_HOST=<mariadb_container_host> \
-e DATASOURCES_DEFAULT_DATABASE=<mysql_database> \ -e DATASOURCES_DEFAULT_PASSWORD=<mariadb_password> \
-e DATASOURCES_DEFAULT_USERNAME=<mariadb_user> \
-e DATASOURCES_DEFAULT_DATABASE=<mariadb_database> \
-e APP_FULL_BASE_URL=https://mydomain.com \ -e APP_FULL_BASE_URL=https://mydomain.com \
passbolt/passbolt:develop-debian passbolt/passbolt:develop-debian
``` ```
@ -155,4 +157,4 @@ $ docker-compose up
* rng-tools or haveged are required on host machine to speed up entropy generation on containers. * rng-tools or haveged are required on host machine to speed up entropy generation on containers.
This way gpg key creation on passbolt container will be faster. This way gpg key creation on passbolt container will be faster.
* mysql >= 5.6 * mariadb/mysql >= 5.6