From de687d77e03539956e7cb8681263fe3da843e525 Mon Sep 17 00:00:00 2001 From: James Oliver Date: Mon, 21 Mar 2016 03:41:42 -0700 Subject: [PATCH] single-host swarm templates --- .../cassandra/0/docker-compose.yml | 8 + .../cassandra/catalogIcon-cassandra.svg | 254 ++++++++++++++++++ swarm-templates/cassandra/config.yml | 4 + swarm-templates/ghost/0/docker-compose.yml | 4 + swarm-templates/ghost/catalogIcon-ghost.svg | 42 +++ swarm-templates/ghost/config.yml | 5 + .../wordpress/0/docker-compose.yml | 11 + .../wordpress/catalogIcon-wordpress.svg | 21 ++ swarm-templates/wordpress/config.yml | 5 + 9 files changed, 354 insertions(+) create mode 100644 swarm-templates/cassandra/0/docker-compose.yml create mode 100644 swarm-templates/cassandra/catalogIcon-cassandra.svg create mode 100644 swarm-templates/cassandra/config.yml create mode 100644 swarm-templates/ghost/0/docker-compose.yml create mode 100644 swarm-templates/ghost/catalogIcon-ghost.svg create mode 100644 swarm-templates/ghost/config.yml create mode 100644 swarm-templates/wordpress/0/docker-compose.yml create mode 100644 swarm-templates/wordpress/catalogIcon-wordpress.svg create mode 100644 swarm-templates/wordpress/config.yml diff --git a/swarm-templates/cassandra/0/docker-compose.yml b/swarm-templates/cassandra/0/docker-compose.yml new file mode 100644 index 0000000..21913d2 --- /dev/null +++ b/swarm-templates/cassandra/0/docker-compose.yml @@ -0,0 +1,8 @@ +cassandra-seed: + image: cassandra:3.3 +cassandra: + image: cassandra:3.3 + links: + - cassandra-seed:seed + environment: + - CASSANDRA_SEEDS=seed diff --git a/swarm-templates/cassandra/catalogIcon-cassandra.svg b/swarm-templates/cassandra/catalogIcon-cassandra.svg new file mode 100644 index 0000000..3b3ed22 --- /dev/null +++ b/swarm-templates/cassandra/catalogIcon-cassandra.svg @@ -0,0 +1,254 @@ + + + +Apache Cassandraimage/svg+xmlApache CassandraApache Software Foundationhttps://svn.apache.org/repos/asf/cassandra/logo/cassandra.svg + \ No newline at end of file diff --git a/swarm-templates/cassandra/config.yml b/swarm-templates/cassandra/config.yml new file mode 100644 index 0000000..171f95a --- /dev/null +++ b/swarm-templates/cassandra/config.yml @@ -0,0 +1,4 @@ +name: "Swarm Cassandra" +description: "Distributed Database" +version: 1.0.0 +category: Databases diff --git a/swarm-templates/ghost/0/docker-compose.yml b/swarm-templates/ghost/0/docker-compose.yml new file mode 100644 index 0000000..62a7744 --- /dev/null +++ b/swarm-templates/ghost/0/docker-compose.yml @@ -0,0 +1,4 @@ +ghost: + image: ghost + ports: + - "80:2368" diff --git a/swarm-templates/ghost/catalogIcon-ghost.svg b/swarm-templates/ghost/catalogIcon-ghost.svg new file mode 100644 index 0000000..44a4152 --- /dev/null +++ b/swarm-templates/ghost/catalogIcon-ghost.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/swarm-templates/ghost/config.yml b/swarm-templates/ghost/config.yml new file mode 100644 index 0000000..7458168 --- /dev/null +++ b/swarm-templates/ghost/config.yml @@ -0,0 +1,5 @@ +name: Ghost +description: | + Blog powered by Ghost +version: v0.1-educaas +category: Blogging diff --git a/swarm-templates/wordpress/0/docker-compose.yml b/swarm-templates/wordpress/0/docker-compose.yml new file mode 100644 index 0000000..cfa4ec0 --- /dev/null +++ b/swarm-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/swarm-templates/wordpress/catalogIcon-wordpress.svg b/swarm-templates/wordpress/catalogIcon-wordpress.svg new file mode 100644 index 0000000..420ce90 --- /dev/null +++ b/swarm-templates/wordpress/catalogIcon-wordpress.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + diff --git a/swarm-templates/wordpress/config.yml b/swarm-templates/wordpress/config.yml new file mode 100644 index 0000000..d92812a --- /dev/null +++ b/swarm-templates/wordpress/config.yml @@ -0,0 +1,5 @@ +name: Wordpress +description: | + Blog tool, publishing platform and CMS +version: v0.1-educaas1 +category: Blog