From 86659ea8a9b3cbe8b3952ec947467f12ee307ee7 Mon Sep 17 00:00:00 2001 From: Craig Osterhout <103533812+craig-osterhout@users.noreply.github.com> Date: Mon, 31 Oct 2022 06:47:06 -0700 Subject: [PATCH] update samples (#16019) --- _data/samples.yaml | 25 ++++++++++++++++++- _data/toc.yaml | 8 ++++-- samples/{django-sample.md => django.md} | 2 -- samples/index.md | 6 ++--- samples/rails.md | 8 ++++++ samples/ruby.md | 8 ++++++ samples/{wordpress-sample.md => wordpress.md} | 0 7 files changed, 49 insertions(+), 8 deletions(-) rename samples/{django-sample.md => django.md} (54%) create mode 100644 samples/rails.md create mode 100644 samples/ruby.md rename samples/{wordpress-sample.md => wordpress.md} (100%) diff --git a/_data/samples.yaml b/_data/samples.yaml index 998ec7ba72..10663d60ce 100644 --- a/_data/samples.yaml +++ b/_data/samples.yaml @@ -371,4 +371,27 @@ samples: - react - javascript - nodejs - + - title: Compose and Rails + url: https://github.com/docker/awesome-compose/blob/master/official-documentation-samples/rails/ + description: This Quickstart guide shows you how to use Docker Compose to set up and run a Rails/PostgreSQL app. + dev_env: false + services: + - rails + - postgres + - ruby + - title: Compose and Django + url: https://github.com/docker/awesome-compose/blob/master/official-documentation-samples/django/ + description: This quick-start guide demonstrates how to use Docker Compose to set up and run a simple Django/PostgreSQL app. + dev_env: false + services: + - django + - python + - postgres + - title: Compose and WordPress + url: https://github.com/docker/awesome-compose/blob/master/official-documentation-samples/wordpress/ + description: This quick-start guide demonstrates how to use Compose to set up and run WordPress. + dev_env: false + services: + - wordpress + - mariadb + - postgres \ No newline at end of file diff --git a/_data/toc.yaml b/_data/toc.yaml index 931c4e1de6..d0f88600c6 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -1138,7 +1138,7 @@ samples: title: .NET - path: /samples/angular/ title: Angular - - path: /samples/django-sample/ + - path: /samples/django/ title: Django - path: /samples/express/ title: Express @@ -1150,6 +1150,8 @@ samples: title: Node.js - path: /samples/react/ title: React + - path: /samples/rails/ + title: Rails - path: /samples/spark/ title: Spark - path: /samples/spring/ @@ -1168,6 +1170,8 @@ samples: title: PHP - path: /samples/python/ title: Python + - path: /samples/ruby/ + title: Ruby - path: /samples/rust/ title: Rust - path: /samples/typescript/ @@ -1182,7 +1186,7 @@ samples: title: Portainer - path: /samples/prometheus/ title: Prometheus - - path: /samples/wordpress-sample/ + - path: /samples/wordpress/ title: WordPress - sectiontitle: Other services section: diff --git a/samples/django-sample.md b/samples/django.md similarity index 54% rename from samples/django-sample.md rename to samples/django.md index ac2bb86154..4e89a4003f 100644 --- a/samples/django-sample.md +++ b/samples/django.md @@ -2,8 +2,6 @@ title: Django samples description: Docker samples for Django. service: django -redirect_from: -- /samples/django/ --- {% include_relative samples-body.md %} \ No newline at end of file diff --git a/samples/index.md b/samples/index.md index aa38802356..909f35d3fe 100644 --- a/samples/index.md +++ b/samples/index.md @@ -13,13 +13,13 @@ Learn how to containerize different types of services by walking through Officia [MariaDB](../samples/mariadb.md) \| [MongoDB](../samples/mongodb.md) \| [MS-SQL](../samples/ms-sql.md) \| [MySQL](../samples/mysql.md) \| [PostgreSQL](../samples/postgres.md) \| [Redis](../samples/redis.md) ## Frameworks -[.NET](../samples/dotnet.md) \| [Angular](../samples/angular.md) \| [Django](../samples/django-sample.md) \| [Express](../samples/express.md) \|[FastAPI](../samples/fastapi.md) \| [Flask](../samples/flask.md) \| [Node.js](../samples/nodejs.md) \| [React](../samples/react.md) \| [Spark](../samples/spark.md) \| [Spring Boot](../samples/spring.md) \| [Vue.js](../samples/vuejs.md) +[.NET](../samples/dotnet.md) \| [Angular](../samples/angular.md) \| [Django](../samples/django.md) \| [Express](../samples/express.md) \|[FastAPI](../samples/fastapi.md) \| [Flask](../samples/flask.md) \| [Node.js](../samples/nodejs.md) \| [React](../samples/react.md) \| [Rails](../samples/rails.md) \| [Spark](../samples/spark.md) \| [Spring Boot](../samples/spring.md) \| [Vue.js](../samples/vuejs.md) ## Languages -[Go](../samples/go.md) \| [Java](../samples/java.md) \| [JavaScript](../samples/javascript.md) \| [PHP](../samples/php.md) \| [Python](../samples/python.md) \| [Rust](../samples/rust.md) \| [TypeScript](../samples/typescript.md) +[Go](../samples/go.md) \| [Java](../samples/java.md) \| [JavaScript](../samples/javascript.md) \| [PHP](../samples/php.md) \| [Python](../samples/python.md) \| [Ruby](../samples/ruby.md) \| [Rust](../samples/rust.md) \| [TypeScript](../samples/typescript.md) ## Platforms -[Gitea](../samples/gitea.md) \| [Nextcloud](../samples/nextcloud.md) \| [Portainer](../samples/portainer.md) \| [Prometheus](../samples/prometheus.md) \| [WordPress](../samples/wordpress-sample.md) +[Gitea](../samples/gitea.md) \| [Nextcloud](../samples/nextcloud.md) \| [Portainer](../samples/portainer.md) \| [Prometheus](../samples/prometheus.md) \| [WordPress](../samples/wordpress.md) ## Other services [Cloudflared](../samples/cloudflared.md) \| [Elasticsearch / Logstash / Kibana](../samples/elasticsearch.md) \| [Minecraft](../samples/minecraft.md) \| [NGINX](../samples/nginx.md) \| [Pi-hole](../samples/pi-hole.md) \| [Plex](../samples/plex.md) \| [Traefik](../samples/traefik.md) \| [WireGuard](../samples/wireguard.md) diff --git a/samples/rails.md b/samples/rails.md new file mode 100644 index 0000000000..2c387d4f7c --- /dev/null +++ b/samples/rails.md @@ -0,0 +1,8 @@ +--- +title: Rails samples +description: Docker samples for Rails. +service: rails +--- + + +{% include_relative samples-body.md %} \ No newline at end of file diff --git a/samples/ruby.md b/samples/ruby.md new file mode 100644 index 0000000000..a58c5c8ae6 --- /dev/null +++ b/samples/ruby.md @@ -0,0 +1,8 @@ +--- +title: Ruby samples +description: Docker samples for Ruby. +service: ruby +--- + + +{% include_relative samples-body.md %} \ No newline at end of file diff --git a/samples/wordpress-sample.md b/samples/wordpress.md similarity index 100% rename from samples/wordpress-sample.md rename to samples/wordpress.md