-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sameer Naik
committed
Sep 6, 2014
1 parent
9d40a19
commit 6fcb4b7
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ Dockerfile to build a Redmine container image. | |
|
||
## Version | ||
|
||
Current Version: **2.5.2-1** | ||
Current Version: **2.5.2-2** | ||
|
||
# Reporting Issues | ||
|
||
|
@@ -84,7 +84,7 @@ docker pull sameersbn/redmine:latest | |
Since version `2.4.2`, the image builds are being tagged. You can now pull a particular version of redmine by specifying the version number. For example, | ||
|
||
```bash | ||
docker pull sameersbn/redmine:2.5.2-1 | ||
docker pull sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
Alternately you can build the image yourself. | ||
|
@@ -101,7 +101,7 @@ Run the redmine image with the name "redmine". | |
|
||
```bash | ||
docker run --name=redmine -it --rm -p 10080:80 \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
**NOTE**: Please allow a minute or two for the Redmine application to start. | ||
|
@@ -141,7 +141,7 @@ Volumes can be mounted in docker by specifying the **'-v'** option in the docker | |
|
||
```bash | ||
docker run --name=redmine -it --rm \ | ||
-v /opt/redmine/data:/home/redmine/data sameersbn/redmine:2.5.2-1 | ||
-v /opt/redmine/data:/home/redmine/data sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
## Database | ||
|
@@ -177,7 +177,7 @@ The updated run command looks like this. | |
```bash | ||
docker run --name=redmine -it --rm \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
-v /opt/redmine/mysql:/var/lib/mysql sameersbn/redmine:2.5.2-1 | ||
-v /opt/redmine/mysql:/var/lib/mysql sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
This will make sure that the data stored in the database is not lost when the image is stopped and started again. | ||
|
@@ -201,7 +201,7 @@ We are now ready to start the redmine application. | |
docker run --name=redmine -it --rm \ | ||
-e "DB_HOST=192.168.1.100" -e "DB_NAME=redmine_production" \ | ||
-e "DB_USER=redmine" -e "DB_PASS=password" \ | ||
-v /opt/redmine/data:/home/redmine/data sameersbn/redmine:2.5.2-1 | ||
-v /opt/redmine/data:/home/redmine/data sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
This will initialize the redmine database and after a couple of minutes your redmine instance should be ready to use. | ||
|
@@ -259,7 +259,7 @@ docker run --name=redmine -it --rm --link mysql:mysql \ | |
-e "DB_USER=redmine" -e "DB_PASS=password" \ | ||
-e "DB_NAME=redmine_production" \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
### PostgreSQL | ||
|
@@ -281,7 +281,7 @@ docker run --name=redmine -it --rm \ | |
-e "DB_TYPE=postgres" -e "DB_HOST=192.168.1.100" \ | ||
-e "DB_NAME=redmine_production" -e "DB_USER=redmine" -e "DB_PASS=password" \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
This will initialize the redmine database and after a couple of minutes your redmine instance should be ready to use. | ||
|
@@ -342,7 +342,7 @@ docker run --name=redmine -it --rm --link postgresql:postgresql \ | |
-e "DB_USER=redmine" -e "DB_PASS=password" \ | ||
-e "DB_NAME=redmine_production" \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
|
@@ -363,7 +363,7 @@ The following environment variables need to be specified to get mail support to | |
```bash | ||
docker run --name=redmine -it --rm \ | ||
-e "[email protected]" -e "SMTP_PASS=PASSWORD" \ | ||
-v /opt/redmine/data:/home/redmine/data sameersbn/redmine:2.5.2-1 | ||
-v /opt/redmine/data:/home/redmine/data sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
If you are not using google mail, then please configure the SMTP host and port using the `SMTP_HOST` and `SMTP_PORT` configuration parameters. | ||
|
@@ -442,7 +442,7 @@ HTTPS support can be enabled by setting the `REDMINE_HTTPS` option to `true`. | |
docker run --name=redmine -d \ | ||
-e 'REDMINE_HTTPS=true' \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
In this configuration, any requests made over the plain http protocol will automatically be redirected to use the https protocol. However, this is not optimal when using a load balancer. | ||
|
@@ -461,7 +461,7 @@ In summation, when using a load balancer, the docker command would look for the | |
docker run --name=redmine -d -p 10080:80 \ | ||
-e 'REDMINE_HTTPS=true' \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
### Deploy to a subdirectory (relative url root) | ||
|
@@ -474,7 +474,7 @@ Let's assume we want to deploy our application to '/redmine'. Redmine needs to k | |
docker run --name=redmine -d -p 10080:80 \ | ||
-e 'REDMINE_RELATIVE_URL_ROOT=/redmine' \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
Redmine will now be accessible at the `/redmine` path, e.g. `http://www.example.com/redmine`. | ||
|
@@ -488,7 +488,7 @@ docker run --name=redmine -d -h redmine.local.host \ | |
-v /opt/redmine/data:/home/redmine/data \ | ||
-v /opt/redmine/mysql:/var/lib/mysql \ | ||
-e "[email protected]" -e "SMTP_PASS=PASSWORD" \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
If you are using an external mysql database | ||
|
@@ -498,7 +498,7 @@ docker run --name=redmine -d -h redmine.local.host \ | |
-v /opt/redmine/data:/home/redmine/data \ | ||
-e "DB_HOST=192.168.1.100" -e "DB_NAME=redmine_production" -e "DB_USER=redmine" -e "DB_PASS=password" \ | ||
-e "[email protected]" -e "SMTP_PASS=PASSWORD" \ | ||
sameersbn/redmine:2.5.2-1 | ||
sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
### Available Configuration Parameters | ||
|
@@ -600,7 +600,7 @@ To uninstall plugins you need to first tell redmine about the plugin you need to | |
```bash | ||
docker run --name=redmine -it --rm \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
sameersbn/redmine:2.5.2-1 \ | ||
sameersbn/redmine:2.5.2-2 \ | ||
app:rake redmine:plugins:migrate NAME=plugin_name VERSION=0 | ||
``` | ||
|
||
|
@@ -617,7 +617,7 @@ For example, to remove the recurring tasks plugin: | |
```bash | ||
docker run --name=redmine -it --rm \ | ||
-v /opt/redmine/data:/home/redmine/data \ | ||
sameersbn/redmine:2.5.2-1 \ | ||
sameersbn/redmine:2.5.2-2 \ | ||
app:rake redmine:plugins:migrate NAME=recurring_tasks VERSION=0 | ||
rm -rf /opt/redmine/data/plugins/recurring_tasks | ||
``` | ||
|
@@ -699,7 +699,7 @@ To upgrade to newer redmine releases, simply follow this 4 step upgrade procedur | |
**Step 1**: Update the docker image. | ||
|
||
```bash | ||
docker pull sameersbn/redmine:2.5.2-1 | ||
docker pull sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
**Step 2**: Stop and remove the currently running image | ||
|
@@ -718,7 +718,7 @@ mysqldump -h <mysql-server-ip> -uredmine -p --add-drop-table redmine_production | |
**Step 4**: Start the image | ||
|
||
```bash | ||
docker run --name=redmine -d [OPTIONS] sameersbn/redmine:2.5.2-1 | ||
docker run --name=redmine -d [OPTIONS] sameersbn/redmine:2.5.2-2 | ||
``` | ||
|
||
## Rake Tasks | ||
|
@@ -727,7 +727,7 @@ The `app:rake` command allows you to run redmine rake tasks. To run a rake task | |
|
||
```bash | ||
docker run --name=redmine -d [OPTIONS] \ | ||
sameersbn/redmine:2.5.2-1 app:rake redmine:email:test[admin] | ||
sameersbn/redmine:2.5.2-2 app:rake redmine:email:test[admin] | ||
``` | ||
|
||
Similarly, to remove uploaded files left unattached | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.5.2-1 | ||
2.5.2-2 |