Added redmine

This commit is contained in:
Josh Cox 2017-03-22 13:56:31 -05:00
parent 89ea29a507
commit 5b3fac7a9b
7 changed files with 166 additions and 0 deletions

View File

@ -0,0 +1,46 @@
version: '2'
services:
redmine-datavolume:
image: "busybox"
volumes:
- /home/redmine/data
- /var/lib/mysql
- /var/log/redmine
labels:
io.rancher.container.start_once: true
entrypoint: ["/bin/true"]
db:
restart: always
image: mariadb
volumes_from:
- redmine-datavolume
labels:
io.rancher.sidekicks: redmine-datavolume
io.rancher.container.pull_image: always
environment:
- MYSQL_USER=redmine
- MYSQL_PASSWORD=${DB_PASS}
- MYSQL_ROOT_PASSWORD=${DB_PASS}
- MYSQL_DATABASE=redmine_production
redmine:
image: sameersbn/redmine:3.3.2-1
labels:
io.rancher.sidekicks: db,redmine-datavolume
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
environment:
- PORT=${PORT}
- TZ=${TZ}
- DB_PASS=${DB_PASS}
- DB_ADAPTER=mysql2
- DB_HOST=db
- DB_USER=redmine
- DB_NAME=redmine_production
- REDMINE_SECRET_TOKEN=${REDMINE_SECRET_TOKEN}
- SMTP_ENABLED=false
- IMAP_ENABLED=false
volumes_from:
- redmine-datavolume

View File

@ -0,0 +1,30 @@
version: '2'
catalog:
name: Redmine
version: 0.1.0
description: |
Redmine
questions:
- variable: "TZ"
description: "Timezone to use for the server"
label: "Timezone"
required: true
default: "America/Chicago"
type: "string"
- variable: "DB_PASS"
description: "Database Password to use for the server"
label: "DB Password"
required: true
default: ""
type: password
- variable: "REDMINE_SECRET_TOKEN"
description: "REDMINE_SECRET_TOKEN"
label: "REDMINE_SECRET_TOKEN"
required: true
default: ""
type: "password"
services:
redmine:
scale: 1
retain_ip: true

View File

@ -0,0 +1,46 @@
version: '2'
services:
redmine-datavolume:
image: "busybox"
volumes:
- /home/redmine/data
- /var/lib/mysql
- /var/log/redmine
labels:
io.rancher.container.start_once: true
entrypoint: ["/bin/true"]
db:
restart: always
image: mariadb
volumes_from:
- redmine-datavolume
labels:
io.rancher.sidekicks: redmine-datavolume
io.rancher.container.pull_image: always
environment:
- MYSQL_USER=redmine
- MYSQL_PASSWORD=${DB_PASS}
- MYSQL_ROOT_PASSWORD=${DB_PASS}
- MYSQL_DATABASE=redmine_production
redmine:
image: sameersbn/redmine:3.3.2-1
labels:
io.rancher.sidekicks: db,redmine-datavolume
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
environment:
- PORT=${PORT}
- TZ=${TZ}
- DB_PASS=${DB_PASS}
- DB_ADAPTER=mysql2
- DB_HOST=db
- DB_USER=redmine
- DB_NAME=redmine_production
- REDMINE_SECRET_TOKEN=${REDMINE_SECRET_TOKEN}
- SMTP_ENABLED=false
- IMAP_ENABLED=false
volumes_from:
- redmine-datavolume

View File

@ -0,0 +1,31 @@
version: '2'
catalog:
name: Redmine
version: 0.1.1
upgrade_from: 0.1.0
description: |
Redmine
questions:
- variable: "TZ"
description: "Timezone to use for the server"
label: "Timezone"
required: true
default: "America/Chicago"
type: "string"
- variable: "DB_PASS"
description: "Database Password to use for the server"
label: "DB Password"
required: true
default: "password123"
type: string
- variable: "REDMINE_SECRET_TOKEN"
description: "REDMINE_SECRET_TOKEN"
label: "REDMINE_SECRET_TOKEN"
required: true
default: "REALLYlongrandomhashkjekkckksixci"
type: "string"
services:
redmine:
scale: 1
retain_ip: true

View File

@ -0,0 +1,8 @@
[Redmine](https://www.redmine.org/)
Redmine is a flexible project management web application. Written using
the Ruby on Rails framework, it is cross-platform and cross-database.
This rancher template should get you a redmine container up and running
to test. To see other implementations, including postgres, and using convoy for persistent data see
the catalog [here](https://github.com/webhostingcoopteam/whc-catalog)

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -0,0 +1,5 @@
name: Redmine
description: |
Redmine Project Manager
version: 0.1.1
category: Project Management