Skip to content

Commit

Permalink
release 2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Sep 6, 2014
1 parent 9d40a19 commit 6fcb4b7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

**latest**
**2.5.2-2**
- added system for users to install themes
- removed pre-installed themes
- added system for users to install plugins
Expand Down
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand Down Expand Up @@ -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
```

### Mail
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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)
Expand All @@ -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`.
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
```

Expand All @@ -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
```
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.2-1
2.5.2-2

0 comments on commit 6fcb4b7

Please sign in to comment.