Skip to content

Commit 8be5340

Browse files
author
Sameer Naik
committed
release 3.3.0-4
1 parent ff55922 commit 8be5340

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Dockerfile to build a [Redmine](http://www.redmine.org/) container image.
5454

5555
## Version
5656

57-
Current Version: **sameersbn/redmine:3.3.0-3**
57+
Current Version: **sameersbn/redmine:3.3.0-4**
5858

5959
*P.S.: If your installation depends on various third party plugins, please stick with 2.6.xx series to avoid breakage.*
6060

@@ -102,7 +102,7 @@ docker pull sameersbn/redmine:latest
102102
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,
103103

104104
```bash
105-
docker pull sameersbn/redmine:3.3.0-3
105+
docker pull sameersbn/redmine:3.3.0-4
106106
```
107107

108108
Alternately you can build the image yourself.
@@ -139,7 +139,7 @@ docker run --name=redmine -d \
139139
--link=postgresql-redmine:postgresql --publish=10083:80 \
140140
--env='REDMINE_PORT=10083' \
141141
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
142-
sameersbn/redmine:3.3.0-3
142+
sameersbn/redmine:3.3.0-4
143143
```
144144

145145
**NOTE**: Please allow a minute or two for the Redmine application to start.
@@ -184,7 +184,7 @@ Volumes can be mounted in docker by specifying the **'-v'** option in the docker
184184
```bash
185185
docker run --name=redmine -it --rm \
186186
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
187-
sameersbn/redmine:3.3.0-3
187+
sameersbn/redmine:3.3.0-4
188188
```
189189

190190
## Database
@@ -234,7 +234,7 @@ docker run --name=redmine -it --rm \
234234
--env='DB_HOST=192.168.1.100' --env='DB_NAME=redmine_production' \
235235
--env='DB_USER=redmine' --env='DB_PASS=password' \
236236
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
237-
sameersbn/redmine:3.3.0-3
237+
sameersbn/redmine:3.3.0-4
238238
```
239239

240240
This will initialize the redmine database and after a couple of minutes your redmine instance should be ready to use.
@@ -279,7 +279,7 @@ We are now ready to start the redmine application.
279279
```bash
280280
docker run --name=redmine -it --rm --link=mysql-redmine:mysql \
281281
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
282-
sameersbn/redmine:3.3.0-3
282+
sameersbn/redmine:3.3.0-4
283283
```
284284

285285
Here the image will also automatically fetch the `DB_NAME`, `DB_USER` and `DB_PASS` variables from the mysql container as they are specified in the `docker run` command for the mysql container. This is made possible using the magic of docker links and works with the following images:
@@ -309,7 +309,7 @@ docker run --name=redmine -it --rm \
309309
--env='DB_HOST=192.168.1.100' --env='DB_NAME=redmine_production' \
310310
--env='DB_USER=redmine' --env='DB_PASS=password' \
311311
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
312-
sameersbn/redmine:3.3.0-3
312+
sameersbn/redmine:3.3.0-4
313313
```
314314

315315
This will initialize the redmine database and after a couple of minutes your redmine instance should be ready to use.
@@ -354,7 +354,7 @@ We are now ready to start the redmine application.
354354
```bash
355355
docker run --name=redmine -it --rm --link=postgresql-redmine:postgresql \
356356
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
357-
sameersbn/redmine:3.3.0-3
357+
sameersbn/redmine:3.3.0-4
358358
```
359359

360360
Here the image will also automatically fetch the `DB_NAME`, `DB_USER` and `DB_PASS` variables from the postgresql container as they are specified in the `docker run` command for the postgresql container. This is made possible using the magic of docker links and works with the following images:
@@ -377,7 +377,7 @@ The image can be configured to use an external memcached server. The memcached s
377377
```bash
378378
docker run --name=redmine -it --rm \
379379
--env='MEMCACHE_HOST=192.168.1.100' --env='MEMCACHE_PORT=11211' \
380-
sameersbn/redmine:3.3.0-3
380+
sameersbn/redmine:3.3.0-4
381381
```
382382

383383
### Linking to Memcached Container
@@ -396,7 +396,7 @@ Now you can link memcached to the redmine image:
396396

397397
```bash
398398
docker run --name=redmine -it --rm --link=memcached-redmine:memcached \
399-
sameersbn/redmine:3.3.0-3
399+
sameersbn/redmine:3.3.0-4
400400
```
401401

402402
### Mail
@@ -409,7 +409,7 @@ Please refer the [Available Configuration Parameters](#available-configuration-p
409409
docker run --name=redmine -it --rm \
410410
--env='SMTP_USER=USER@gmail.com' --env='SMTP_PASS=PASSWORD' \
411411
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
412-
sameersbn/redmine:3.3.0-3
412+
sameersbn/redmine:3.3.0-4
413413
```
414414

415415
If you are not using google mail, then please configure the SMTP host and port using the `SMTP_HOST` and `SMTP_PORT` configuration parameters.
@@ -491,7 +491,7 @@ docker run --name=redmine -d \
491491
--publish=10083:80 --publish 10445:443 \
492492
--env='REDMINE_PORT=10445' --env='REDMINE_HTTPS=true' \
493493
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
494-
sameersbn/redmine:3.3.0-3
494+
sameersbn/redmine:3.3.0-4
495495
```
496496

497497
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.
@@ -507,7 +507,7 @@ docker run --name=redmine -d \
507507
--env='REDMINE_HTTPS=true' \
508508
--env='NGINX_HSTS_MAXAGE=2592000'
509509
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
510-
sameersbn/redmine:3.3.0-3
510+
sameersbn/redmine:3.3.0-4
511511
```
512512

513513
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -526,7 +526,7 @@ In summation, when using a load balancer, the docker command would look for the
526526
docker run --name=redmine -d --publish=10083:80 \
527527
--env='REDMINE_HTTPS=true' \
528528
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
529-
sameersbn/redmine:3.3.0-3
529+
sameersbn/redmine:3.3.0-4
530530
```
531531

532532
### Deploy to a subdirectory (relative url root)
@@ -539,7 +539,7 @@ Let's assume we want to deploy our application to '/redmine'. Redmine needs to k
539539
docker run --name=redmine -d --publish=10083:80 \
540540
--env='REDMINE_RELATIVE_URL_ROOT=/redmine' \
541541
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
542-
sameersbn/redmine:3.3.0-3
542+
sameersbn/redmine:3.3.0-4
543543
```
544544

545545
Redmine will now be accessible at the `/redmine` path, e.g. `http://www.example.com/redmine`.
@@ -555,7 +555,7 @@ Also the container processes seem to be executed as the host's user/group `1000`
555555
```bash
556556
docker run --name=redmine -it --rm [options] \
557557
--env="USERMAP_UID=500" --env="USERMAP_GID=500" \
558-
sameersbn/redmine:3.3.0-3
558+
sameersbn/redmine:3.3.0-4
559559
```
560560

561561
### Available Configuration Parameters
@@ -703,7 +703,7 @@ To uninstall plugins you need to first tell redmine about the plugin you need to
703703
```bash
704704
docker run --name=redmine -it --rm \
705705
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
706-
sameersbn/redmine:3.3.0-3 \
706+
sameersbn/redmine:3.3.0-4 \
707707
app:rake redmine:plugins:migrate NAME=plugin_name VERSION=0
708708
```
709709

@@ -720,7 +720,7 @@ For example, to remove the recurring tasks plugin:
720720
```bash
721721
docker run --name=redmine -it --rm \
722722
--volume=/srv/docker/redmine/redmine:/home/redmine/data \
723-
sameersbn/redmine:3.3.0-3 \
723+
sameersbn/redmine:3.3.0-4 \
724724
app:rake redmine:plugins:migrate NAME=recurring_tasks VERSION=0
725725
rm -rf /srv/docker/redmine/redmine/plugins/recurring_tasks
726726
```
@@ -791,7 +791,7 @@ Relaunch the container with the `app:backup:create` argument.
791791

792792
```bash
793793
docker run --name redmine -it --rm [OPTIONS] \
794-
sameersbn/redmine:3.3.0-3 app:backup:create
794+
sameersbn/redmine:3.3.0-4 app:backup:create
795795
```
796796

797797
The backup will be created in the `backups/` folder of the [Data Store](#data-store). You can change the location using the `REDMINE_BACKUPS_DIR` configuration parameter.
@@ -822,7 +822,7 @@ Relaunch the container with the `app:backup:restore` argument. Ensure you launch
822822
823823
```bash
824824
docker run --name redmine -it --rm [OPTIONS] \
825-
sameersbn/redmine:3.3.0-3 app:backup:restore
825+
sameersbn/redmine:3.3.0-4 app:backup:restore
826826
```
827827
828828
A list of existing backups will be displayed. Select a backup you wish to restore.
@@ -831,7 +831,7 @@ To avoid this interaction you can specify the backup filename using the `BACKUP`
831831
832832
```bash
833833
docker run --name redmine -it --rm [OPTIONS] \
834-
sameersbn/redmine:3.3.0-3 app:backup:restore BACKUP=1417624827_redmine_backup.tar
834+
sameersbn/redmine:3.3.0-4 app:backup:restore BACKUP=1417624827_redmine_backup.tar
835835
```
836836
837837
## Automated backups
@@ -850,7 +850,7 @@ The `app:rake` command allows you to run redmine rake tasks. To run a rake task
850850
851851
```bash
852852
docker run --name=redmine -d [OPTIONS] \
853-
sameersbn/redmine:3.3.0-3 app:rake redmine:email:test[admin]
853+
sameersbn/redmine:3.3.0-4 app:rake redmine:email:test[admin]
854854
```
855855
856856
You can also use `docker exec` to run rake tasks on running redmine instance. For example,
@@ -863,7 +863,7 @@ Similarly, to remove uploaded files left unattached
863863
864864
```bash
865865
docker run --name=redmine -d [OPTIONS] \
866-
sameersbn/redmine:3.3.0-3 app:rake redmine:attachments:prune
866+
sameersbn/redmine:3.3.0-4 app:rake redmine:attachments:prune
867867
```
868868
869869
Or,
@@ -881,7 +881,7 @@ To upgrade to newer redmine releases, simply follow this 4 step upgrade procedur
881881
- **Step 1**: Update the docker image.
882882
883883
```bash
884-
docker pull sameersbn/redmine:3.3.0-3
884+
docker pull sameersbn/redmine:3.3.0-4
885885
```
886886
887887
- **Step 2**: Stop and remove the currently running image
@@ -903,7 +903,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
903903
- **Step 4**: Start the image
904904
905905
```bash
906-
docker run --name=redmine -d [OPTIONS] sameersbn/redmine:3.3.0-3
906+
docker run --name=redmine -d [OPTIONS] sameersbn/redmine:3.3.0-4
907907
```
908908
909909
## Shell Access

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0-3
1+
3.3.0-4

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
- /srv/docker/redmine/postgresql:/var/lib/postgresql
1212

1313
redmine:
14-
image: sameersbn/redmine:3.3.0-3
14+
image: sameersbn/redmine:3.3.0-4
1515
depends_on:
1616
- postgresql
1717
environment:

0 commit comments

Comments
 (0)