From e781075d90ad1f33c7657ac3b6b7a069bc5bec6f Mon Sep 17 00:00:00 2001 From: Jose Fuentes Castillo Date: Tue, 15 Mar 2016 22:38:30 +0100 Subject: [PATCH 1/2] Fixed `mounts` erroneus parameter --- bitnami/redmine/README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/bitnami/redmine/README.md b/bitnami/redmine/README.md index 4ed884c6ea39..4a91453e1923 100644 --- a/bitnami/redmine/README.md +++ b/bitnami/redmine/README.md @@ -19,7 +19,7 @@ Running Redmine with a database server is the recommended way. You can either us This is the recommended way to run Redmine. You can use the following docker compose template: -``` +```yaml version: '2' services: @@ -81,7 +81,7 @@ If you remove every container all your data will be lost, and the next time you ### Mount persistent folders in the host using docker-compose This requires a sightly modification from the template previously shown: -``` +```yaml version: '2' services: @@ -107,10 +107,9 @@ services: application_data: image: bitnami/redmine:latest volumes: - - /bitnami/redmine - entrypoint: 'true' - mounts: - /your/local/path/bitnami/redmine:/bitnami/redmine + entrypoint: 'true' + ``` ### Mount persistent folders manually @@ -169,7 +168,7 @@ $ docker pull bitnami/redmine:latest When you start the redmine image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the docker run command line. If you want to add a new environment variable: * For docker-compose add the variable name and value under the application section: -``` +```yaml application: image: bitnami/redmine:latest ports: @@ -207,7 +206,7 @@ To configure Redmine to send email using SMTP you can set the following environm This would be an example of SMTP configuration using a GMail account: - * docker-compose: + * docker-compose: ``` application: @@ -223,7 +222,7 @@ This would be an example of SMTP configuration using a GMail account: - application_data ``` - * For manual execution: + * For manual execution: ``` $ docker run -d -e SMTP_HOST=smtp.gmail.com -e SMTP_PORT=587 -e SMTP_USER=your_email@gmail.com -e SMTP_PASSWORD=your_password -p 80:3000 --name redmine -v /your/local/path/bitnami/redmine:/bitnami/redmine --network=redmine_network bitnami/redmine$ docker rm -v redmine From 608ec6b1bed8c8e21c891a3b41dc6b3d80a625de Mon Sep 17 00:00:00 2001 From: Jose Fuentes Castillo Date: Tue, 15 Mar 2016 22:42:50 +0100 Subject: [PATCH 2/2] yaml syntax highlighting --- bitnami/redmine/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/redmine/README.md b/bitnami/redmine/README.md index 4a91453e1923..324b11bb7f29 100644 --- a/bitnami/redmine/README.md +++ b/bitnami/redmine/README.md @@ -208,7 +208,7 @@ This would be an example of SMTP configuration using a GMail account: * docker-compose: -``` +```yaml application: image: bitnami/redmine:latest ports: