Added redmine
This commit is contained in:
parent
89ea29a507
commit
5b3fac7a9b
46
templates/redmine/0/docker-compose.yml
Normal file
46
templates/redmine/0/docker-compose.yml
Normal 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
|
30
templates/redmine/0/rancher-compose.yml
Normal file
30
templates/redmine/0/rancher-compose.yml
Normal 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
|
46
templates/redmine/1/docker-compose.yml
Normal file
46
templates/redmine/1/docker-compose.yml
Normal 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
|
31
templates/redmine/1/rancher-compose.yml
Normal file
31
templates/redmine/1/rancher-compose.yml
Normal 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
|
8
templates/redmine/README.md
Normal file
8
templates/redmine/README.md
Normal 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)
|
BIN
templates/redmine/catalogIcon-redmine.png
Normal file
BIN
templates/redmine/catalogIcon-redmine.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
5
templates/redmine/config.yml
Normal file
5
templates/redmine/config.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: Redmine
|
||||||
|
description: |
|
||||||
|
Redmine Project Manager
|
||||||
|
version: 0.1.1
|
||||||
|
category: Project Management
|
Loading…
x
Reference in New Issue
Block a user