From 5cf475e98564e56a33c001e671e7b09b7b79b962 Mon Sep 17 00:00:00 2001 From: Diego Lendoiro Date: Thu, 18 Jan 2018 10:49:13 +0100 Subject: [PATCH] composer readme section --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b08208..b87fb6c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Then you can start passbolt just by providing the database container ip in the ```bash $ docker run --name passbolt \ - -e DATASOURCES_DEFAULT_HOST= \ + -e DATASOURCES_DEFAULT_HOST= \ -e DATASOURCES_DEFAULT_PASSWORD= \ -e DATASOURCES_DEFAULT_USERNAME= \ -e DATASOURCES_DEFAULT_DATABASE= \ @@ -55,6 +55,7 @@ available browsing `https://yourdomain.com` Passbolt docker image provides several environment variables to configure different aspects: +``` * APP_FULL_BASE_URL: Passbolt base url (Example https://yourdomain.com) * DATASOURCES_DEFAULT_HOST: database hostname (default: localhost) * DATASOURCES_DEFAULT_PORT: database port (default: 3306) @@ -84,6 +85,7 @@ Passbolt docker image provides several environment variables to configure differ * PASSBOLT_SSL_FORCE: Redirects http to https from passbolt (defaults to true) * PASSBOLT_SECURITY_SET_HEADERS: Send CSP Headers from passbolt (defaults to true) * SECURITY_SALT: A random number user in security hashing methods. +``` ### Configuration files @@ -103,6 +105,14 @@ It is also possible to mount a ssl certificate on the following paths: * /etc/ssl/certs/certificate.crt * /etc/ssl/certs/certificate.key +### docker-compose + +Usage: + +``` +$ docker-compose up +``` + # Requirements: * rng-tools are required on host machine to speed up entropy generation on containers.