Add Rancher metadata to swarm templates
This commit is contained in:
parent
4ba17efe58
commit
f02a2cf1e9
@ -1,8 +1,2 @@
|
|||||||
cassandra-seed:
|
|
||||||
image: cassandra:3.3
|
|
||||||
cassandra:
|
cassandra:
|
||||||
image: cassandra:3.3
|
image: cassandra:3.3
|
||||||
links:
|
|
||||||
- cassandra-seed:seed
|
|
||||||
environment:
|
|
||||||
- CASSANDRA_SEEDS=seed
|
|
||||||
|
5
swarm-templates/cassandra/0/rancher-compose.yml
Normal file
5
swarm-templates/cassandra/0/rancher-compose.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.catalog:
|
||||||
|
name: "Cassandra"
|
||||||
|
version: 3.3-rancher1
|
||||||
|
description: "Deploy a Cassandra node"
|
||||||
|
minimum_rancher_version: v1.0.0-rc2
|
@ -1,4 +1,4 @@
|
|||||||
name: "Swarm Cassandra"
|
name: "Cassandra"
|
||||||
description: "Distributed Database"
|
description: "Distributed Database"
|
||||||
version: 1.0.0
|
version: 3.3-rancher1
|
||||||
category: Databases
|
category: Databases
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
ghost:
|
ghost:
|
||||||
image: ghost
|
image: ghost:0.7.8
|
||||||
ports:
|
ports:
|
||||||
- "80:2368"
|
- "${client_port}:2368"
|
||||||
|
12
swarm-templates/ghost/0/rancher-compose.yml
Normal file
12
swarm-templates/ghost/0/rancher-compose.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
.catalog:
|
||||||
|
name: "Ghost"
|
||||||
|
version: 0.7.8-rancher1
|
||||||
|
description: "Blog powered by Ghost"
|
||||||
|
minimum_rancher_version: v1.0.0-rc2
|
||||||
|
questions:
|
||||||
|
- variable: client_port
|
||||||
|
description: "Port to access the blog"
|
||||||
|
label: "Client Port"
|
||||||
|
required: true
|
||||||
|
default: "80"
|
||||||
|
type: "int"
|
@ -1,5 +1,5 @@
|
|||||||
name: Ghost
|
name: Ghost
|
||||||
description: |
|
description: |
|
||||||
Blog powered by Ghost
|
Blog powered by Ghost
|
||||||
version: v0.1-educaas
|
version: 0.7.8-rancher1
|
||||||
category: Blogging
|
category: Blogging
|
||||||
|
@ -3,9 +3,8 @@ wordpress:
|
|||||||
links:
|
links:
|
||||||
- db:mysql
|
- db:mysql
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- ${client_port}:80
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: example
|
MYSQL_ROOT_PASSWORD: ${db_password}
|
||||||
|
18
swarm-templates/wordpress/0/rancher-compose.yml
Normal file
18
swarm-templates/wordpress/0/rancher-compose.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.catalog:
|
||||||
|
name: "Wordpress"
|
||||||
|
version: latest-rancher1
|
||||||
|
description: "Blog tool, publishing platform and CMS"
|
||||||
|
minimum_rancher_version: v1.0.0-rc2
|
||||||
|
questions:
|
||||||
|
- variable: client_port
|
||||||
|
description: "Port to access Wordpress"
|
||||||
|
label: "Client Port"
|
||||||
|
required: true
|
||||||
|
default: "80"
|
||||||
|
type: "int"
|
||||||
|
- variable: db_password
|
||||||
|
description: "Password for database"
|
||||||
|
label: "Password (default: wordpress)"
|
||||||
|
required: true
|
||||||
|
default: "wordpress"
|
||||||
|
type: "password"
|
@ -1,5 +1,5 @@
|
|||||||
name: Wordpress
|
name: Wordpress
|
||||||
description: |
|
description: |
|
||||||
Blog tool, publishing platform and CMS
|
Blog tool, publishing platform and CMS
|
||||||
version: v0.1-educaas1
|
version: latest-rancher1
|
||||||
category: Blog
|
category: Blog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user