diff --git a/templates/MongoDB/0/README.md b/templates/MongoDB/0/README.md new file mode 100644 index 0000000..5d1109f --- /dev/null +++ b/templates/MongoDB/0/README.md @@ -0,0 +1,18 @@ +# MongoDB + + +### Info: + + This template creates MongoDB replica set on top of Rancher. Replica set size starts with 3 MongoDB instances, the replica set has the ability to scale up automatically when adding new instances. + + +### Usage: + + Select MongoDB from catalog. + + Enter the name of the replica set. + + Click deploy. + + MongoDB can now be accessed over the Rancher network. + diff --git a/templates/MongoDB/0/docker-compose.yml b/templates/MongoDB/0/docker-compose.yml new file mode 100644 index 0000000..2a4724a --- /dev/null +++ b/templates/MongoDB/0/docker-compose.yml @@ -0,0 +1,35 @@ +mongo-cluster: + restart: always + environment: + MONGO_SERVICE_NAME: mongo-cluster + tty: true + entrypoint: /opt/rancher/bin/entrypoint.sh + command: + - --replSet + - "${replset_name}" + image: mongo:3.0 + labels: + io.rancher.container.hostname_override: container_name + io.rancher.sidekicks: mongo-base, mongo-datavolume + volumes_from: + - mongo-datavolume + - mongo-base +mongo-base: + restart: always + net: none + tty: true + labels: + io.rancher.container.hostname_override: container_name + io.rancher.container.start_once: true + image: rancher/mongodb-conf:v0.1.0 + stdin_open: true + entrypoint: /bin/true +mongo-datavolume: + net: none + labels: + io.rancher.container.hostname_override: container_name + io.rancher.container.start_once: true + volumes: + - /data/db + entrypoint: /bin/true + image: busybox diff --git a/templates/MongoDB/0/rancher-compose.yml b/templates/MongoDB/0/rancher-compose.yml new file mode 100644 index 0000000..3a55cc2 --- /dev/null +++ b/templates/MongoDB/0/rancher-compose.yml @@ -0,0 +1,19 @@ +.catalog: + name: "MongoDB" + version: "3.0.0-rancher1" + description: "MongoDB Replica Set" + uuid: mongodb-0 + minimum_rancher_version: v0.46.0 + questions: + - variable: replset_name + description: "Name of the MongoDB replicaSet" + label: "ReplicaSet Name" + type: "string" + required: true + default: "rs0" +mongo-cluster: + scale: 3 + metadata: + mongo: + yml: + replset.name: "${replset_name}" diff --git a/templates/MongoDB/catalogIcon-mongodb.svg b/templates/MongoDB/catalogIcon-mongodb.svg new file mode 100644 index 0000000..0fd0d97 --- /dev/null +++ b/templates/MongoDB/catalogIcon-mongodb.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/MongoDB/config.yml b/templates/MongoDB/config.yml new file mode 100644 index 0000000..de44927 --- /dev/null +++ b/templates/MongoDB/config.yml @@ -0,0 +1,5 @@ +name: MongoDB +description: | + MongoDB Replica Set. +version: 3.0.0-rancher1 +category: Database diff --git a/templates/ghost/0/docker-compose.yml b/templates/ghost/0/docker-compose.yml new file mode 100644 index 0000000..62a7744 --- /dev/null +++ b/templates/ghost/0/docker-compose.yml @@ -0,0 +1,4 @@ +ghost: + image: ghost + ports: + - "80:2368" diff --git a/templates/ghost/0/rancher-compose.yml b/templates/ghost/0/rancher-compose.yml new file mode 100644 index 0000000..1598eb5 --- /dev/null +++ b/templates/ghost/0/rancher-compose.yml @@ -0,0 +1,9 @@ +.catalog: + name: "Ghost" + version: "v0.1-educaas" + description: "Blog powered by Ghost. Requires no database" + uuid: ghost-0 + minimum_rancher_version: v0.51.0 + questions: + +ghost: diff --git a/templates/ghost/catalogIcon-ghost.svg b/templates/ghost/catalogIcon-ghost.svg new file mode 100644 index 0000000..a2335ec --- /dev/null +++ b/templates/ghost/catalogIcon-ghost.svg @@ -0,0 +1,317 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/templates/ghost/config.yml b/templates/ghost/config.yml new file mode 100644 index 0000000..7458168 --- /dev/null +++ b/templates/ghost/config.yml @@ -0,0 +1,5 @@ +name: Ghost +description: | + Blog powered by Ghost +version: v0.1-educaas +category: Blogging diff --git a/templates/odoo/0/docker-compose.yml b/templates/odoo/0/docker-compose.yml new file mode 100644 index 0000000..1195219 --- /dev/null +++ b/templates/odoo/0/docker-compose.yml @@ -0,0 +1,11 @@ +odoo: + image: odoo + ports: + - "8069:8069" + links: + - db +db: + image: postgres + environment: + - POSTGRES_USER=odoo + - POSTGRES_PASSWORD=odoo diff --git a/templates/odoo/0/rancher-compose.yml b/templates/odoo/0/rancher-compose.yml new file mode 100644 index 0000000..d630867 --- /dev/null +++ b/templates/odoo/0/rancher-compose.yml @@ -0,0 +1,8 @@ +.catalog: + name: "Odoo" + version: "0.1-educaas" + description: "ERP management powered by Odoo" + uuid: odoo-0 + questions: + +odoo: diff --git a/templates/odoo/catalogIcon-odoo.svg b/templates/odoo/catalogIcon-odoo.svg new file mode 100644 index 0000000..305ad4d --- /dev/null +++ b/templates/odoo/catalogIcon-odoo.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + diff --git a/templates/odoo/config.yml b/templates/odoo/config.yml new file mode 100644 index 0000000..7f50781 --- /dev/null +++ b/templates/odoo/config.yml @@ -0,0 +1,5 @@ +name: Odoo +description: | + ERP management powered by Odoo +version: v0.1-educaas +category: ERP diff --git a/templates/owncloud/0/docker-compose.yml b/templates/owncloud/0/docker-compose.yml new file mode 100644 index 0000000..d08460f --- /dev/null +++ b/templates/owncloud/0/docker-compose.yml @@ -0,0 +1,12 @@ +owncloud: + image: owncloud + ports: + - "80:80" + links: + - db + environment: + +db: + image: mariadb + environment: + - MYSQL_ROOT_PASSWORD=password diff --git a/templates/owncloud/0/rancher-compose.yml b/templates/owncloud/0/rancher-compose.yml new file mode 100644 index 0000000..756d515 --- /dev/null +++ b/templates/owncloud/0/rancher-compose.yml @@ -0,0 +1,9 @@ +.catalog: + name: "Owncloud" + version: "v0.1-educaas" + description: "Library service powered by Owncloud" + uuid: odoo-0 + minimum_rancher_version: v0.51.0 + questions: + +owncloud: diff --git a/templates/owncloud/catalogIcon-owncloud.svg b/templates/owncloud/catalogIcon-owncloud.svg new file mode 100644 index 0000000..9ac167c --- /dev/null +++ b/templates/owncloud/catalogIcon-owncloud.svg @@ -0,0 +1,762 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/owncloud/config.yml b/templates/owncloud/config.yml new file mode 100644 index 0000000..a02f605 --- /dev/null +++ b/templates/owncloud/config.yml @@ -0,0 +1,5 @@ +name: Owncloud +description: | + Library service powered by Owncloud +version: v0.1-educaas +category: Repository diff --git a/templates/rocket.chat/0/docker-compose.yml b/templates/rocket.chat/0/docker-compose.yml new file mode 100644 index 0000000..2637c3c --- /dev/null +++ b/templates/rocket.chat/0/docker-compose.yml @@ -0,0 +1,36 @@ +mongo: + image: mongo +# volumes: +# - ./data/runtime/db:/data/db +# - ./data/dump:/dump + command: mongod --smallfiles --oplogSize 128 + +rocketchat: + image: rocketchat/rocket.chat:latest +# volumes: +# - ./uploads:/app/uploads + environment: + - PORT=3000 + - ROOT_URL=http://yourhost:3000 + - MONGO_URL=mongodb://mongo:27017/rocketchat + links: + - mongo:mongo + ports: + - 3000:3000 + +# hubot, the popular chatbot (add the bot user first and change the password before starting this image) +hubot: + image: rocketchat/hubot-rocketchat + environment: + - ROCKETCHAT_URL=rocketchat:3000 + - ROCKETCHAT_ROOM=GENERAL + - ROCKETCHAT_USER=bot + - ROCKETCHAT_PASSWORD=botpassword + - BOT_NAME=bot +# you can add more scripts as you'd like here, they need to be installable by npm + - EXTERNAL_SCRIPTS=hubot-help,hubot-seen,hubot-links,hubot-diagnostics + links: + - rocketchat:rocketchat +# this is used to expose the hubot port for notifications on the host on port 3001, e.g. for hubot-jenkins-notifier + ports: + - 3001:8080 diff --git a/templates/rocket.chat/0/rancher-compose.yml b/templates/rocket.chat/0/rancher-compose.yml new file mode 100644 index 0000000..03e9beb --- /dev/null +++ b/templates/rocket.chat/0/rancher-compose.yml @@ -0,0 +1,10 @@ +.catalog: + name: "RocketChat" + version: "v0.1-educaas" + description: "Have your own Slack like online chat, built with Meteor." + uuid: rocketchat-0 + minimum_rancher_version: v0.51.0 + questions: + + +rocketchat: diff --git a/templates/rocket.chat/catalogIcon-rocket.chat.svg b/templates/rocket.chat/catalogIcon-rocket.chat.svg new file mode 100644 index 0000000..7473ef0 --- /dev/null +++ b/templates/rocket.chat/catalogIcon-rocket.chat.svg @@ -0,0 +1,140 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/templates/rocket.chat/config.yml b/templates/rocket.chat/config.yml new file mode 100644 index 0000000..0cd19d3 --- /dev/null +++ b/templates/rocket.chat/config.yml @@ -0,0 +1,5 @@ +name: RocketChat +description: | + Have your own Slack like online chat, built with Meteor. +version: v0.1-educaas +category: Chat diff --git a/templates/taiga/0/docker-compose.yml b/templates/taiga/0/docker-compose.yml new file mode 100644 index 0000000..4db16a4 --- /dev/null +++ b/templates/taiga/0/docker-compose.yml @@ -0,0 +1,18 @@ +postgres: + image: postgres + +taigaback: + image: ipedrazas/taiga-back + links: + - postgres:postgres + ports: + - "8000:8000" + +taigafront: + image: ipedrazas/taiga-front + links: + - taigaback:taiga-back + ports: + - "80:80" + environment: + - "API_NAME=boot2docker" diff --git a/templates/taiga/0/rancher-compose.yml b/templates/taiga/0/rancher-compose.yml new file mode 100644 index 0000000..8fa4baf --- /dev/null +++ b/templates/taiga/0/rancher-compose.yml @@ -0,0 +1,10 @@ +.catalog: + name: "Taiga" + version: "v0.1-educaas" + description: "Project management platform for agile developers" + uuid: taiga-0 + minimum_rancher_version: v0.51.0 + questions: + + +taiga: diff --git a/templates/taiga/catalogIcon-taiga.svg b/templates/taiga/catalogIcon-taiga.svg new file mode 100644 index 0000000..eb4edb5 --- /dev/null +++ b/templates/taiga/catalogIcon-taiga.svg @@ -0,0 +1,137 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/taiga/config.yml b/templates/taiga/config.yml new file mode 100644 index 0000000..553729a --- /dev/null +++ b/templates/taiga/config.yml @@ -0,0 +1,5 @@ +name: Taiga +description: | + Project management platform for agile developers +version: v0.1-educaas1 +category: Agile diff --git a/templates/wekan/0/docker-compose.yml b/templates/wekan/0/docker-compose.yml new file mode 100644 index 0000000..c611526 --- /dev/null +++ b/templates/wekan/0/docker-compose.yml @@ -0,0 +1,18 @@ +wekandb: + image: mongo +# volumes: +# - ./data/runtime/db:/data/db +# - ./data/dump:/dump + command: mongod --smallfiles --oplogSize 128 + ports: + - 27017 + +wekan: + image: mquandalle/wekan + links: + - wekandb + environment: + - MONGO_URL=mongodb://wekandb/wekan + - ROOT_URL=http://localhost:80 + ports: + - 80:80 diff --git a/templates/wekan/0/rancher-compose.yml b/templates/wekan/0/rancher-compose.yml new file mode 100644 index 0000000..3aa1d2f --- /dev/null +++ b/templates/wekan/0/rancher-compose.yml @@ -0,0 +1,10 @@ +.catalog: + name: "Wekan" + version: "v0.1-educaas" + description: "The open-source Trello-like kanban (build with Meteor)" + uuid: cloudflare-0 + minimum_rancher_version: v0.51.0 + questions: + + +wekan: diff --git a/templates/wekan/catalogIcon-wekan.svg b/templates/wekan/catalogIcon-wekan.svg new file mode 100644 index 0000000..86eb28c --- /dev/null +++ b/templates/wekan/catalogIcon-wekan.svg @@ -0,0 +1,650 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/templates/wekan/config.yml b/templates/wekan/config.yml new file mode 100644 index 0000000..ac486b3 --- /dev/null +++ b/templates/wekan/config.yml @@ -0,0 +1,5 @@ +name: Wekan +description: | + The open-source Trello-like kanban (build with Meteor) +version: v0.1-educaas +category: Kanban diff --git a/templates/wekan/wekan-logo.png b/templates/wekan/wekan-logo.png new file mode 100644 index 0000000..457e02e Binary files /dev/null and b/templates/wekan/wekan-logo.png differ diff --git a/templates/wordpress/0/docker-compose.yml b/templates/wordpress/0/docker-compose.yml new file mode 100644 index 0000000..cfa4ec0 --- /dev/null +++ b/templates/wordpress/0/docker-compose.yml @@ -0,0 +1,11 @@ +wordpress: + image: wordpress + links: + - db:mysql + ports: + - 80:80 + +db: + image: mariadb + environment: + MYSQL_ROOT_PASSWORD: example diff --git a/templates/wordpress/0/rancher-compose.yml b/templates/wordpress/0/rancher-compose.yml new file mode 100644 index 0000000..e45674a --- /dev/null +++ b/templates/wordpress/0/rancher-compose.yml @@ -0,0 +1,10 @@ +.catalog: + name: "Wordpress" + version: "v0.1-educaas" + description: "Blog tool, publishing platform and CMS" + uuid: Wordpress-0 + minimum_rancher_version: v0.51.0 + questions: + + +wordpress: diff --git a/templates/wordpress/catalogIcon-wordpress.svg b/templates/wordpress/catalogIcon-wordpress.svg new file mode 100644 index 0000000..7739575 --- /dev/null +++ b/templates/wordpress/catalogIcon-wordpress.svg @@ -0,0 +1,588 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/templates/wordpress/config.yml b/templates/wordpress/config.yml new file mode 100644 index 0000000..d92812a --- /dev/null +++ b/templates/wordpress/config.yml @@ -0,0 +1,5 @@ +name: Wordpress +description: | + Blog tool, publishing platform and CMS +version: v0.1-educaas1 +category: Blog