You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Michael Yuan e6b1d2755f
Feat: add Docker+wasm examples (#309)
* Add a Docker+wasm sample application featuring a WasmEdge-based microservice, a MySQL database and an Nginx web server for frontend UI files.

Signed-off-by: Michael Yuan <michael@secondstate.io>

* Add a logo to indicate Docker+wasm compatibility. Add project descriptions to README.

Signed-off-by: Michael Yuan <michael@secondstate.io>

* Add the example for WasmEdge + Kafka / Redpanda + MySQL application to take messages from a queue and save into a database table.

Signed-off-by: Michael Yuan <michael@secondstate.io>

* Add a SVG icon to indicate Docker + Wasm req

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update the docker compose files for the new Docker Desktop release

Signed-off-by: Michael Yuan <michael@secondstate.io>

* Use the correct platform to be compatible with Docker Desktop 4.15

Signed-off-by: Michael Yuan <michael@secondstate.io>

* Update README.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-kafka-mysql/README.md

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-kafka-mysql/README.md

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-kafka-mysql/etl/Dockerfile

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Update wasmedge-mysql-nginx/README.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

* Change the Nginx port to the default non-privileged 8090

Signed-off-by: Michael Yuan <michael@secondstate.io>

* My apologies. Need to correct the syntax for the Nginx port 8090.

Signed-off-by: Michael Yuan <michael@secondstate.io>

* Remove commented lines

Signed-off-by: Michael Yuan <michael@secondstate.io>

* Change wasi/wasm32 to wasi/wasm to conform with the latest spec

Signed-off-by: Michael Yuan <michael@secondstate.io>

* Update README.md

Co-authored-by: Michael Irwin <mikesir87@gmail.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>

Signed-off-by: Michael Yuan <michael@secondstate.io>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>
Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Co-authored-by: Michael Irwin <mikesir87@gmail.com>
2 years ago
.github Remove temporarily the 'java' codeql analysis (#189) 3 years ago
angular Add "Open in Docker Dev Environments" links (#280) 2 years ago
apache-php Add "Open in Docker Dev Environments" links (#280) 2 years ago
aspnet-mssql Adopt Compose v2 (#240) 3 years ago
django Add "Open in Docker Dev Environments" links (#280) 2 years ago
elasticsearch-logstash-kibana Adopt Compose v2 (#240) 3 years ago
fastapi Add "Open in Docker Dev Environments" links (#280) 2 years ago
flask Add "Open in Docker Dev Environments" links (#280) 2 years ago
flask-redis Add "Open in Docker Dev Environments" links (#280) 2 years ago
gitea-postgres Adopt Compose v2 (#240) 3 years ago
minecraft Adopt Compose v2 (#240) 3 years ago
nextcloud-postgres Adopt Compose v2 (#240) 3 years ago
nextcloud-redis-mariadb Adopt Compose v2 (#240) 3 years ago
nginx-aspnet-mysql Add "Open in Docker Dev Environments" links (#280) 2 years ago
nginx-flask-mongo Add "Open in Docker Dev Environments" links (#280) 2 years ago
nginx-flask-mysql Add "Open in Docker Dev Environments" links (#280) 2 years ago
nginx-golang Add "Open in Docker Dev Environments" links (#280) 2 years ago
nginx-golang-mysql Add "Open in Docker Dev Environments" links (#280) 2 years ago
nginx-golang-postgres Add "Open in Docker Dev Environments" links (#280) 2 years ago
nginx-nodejs-redis Adopt Compose v2 (#240) 3 years ago
nginx-wsgi-flask Adopt Compose v2 (#240) 3 years ago
official-documentation-samples Add compose samples from docs (#305) 2 years ago
pihole-cloudflared-DoH Fix PiHole Docs Typo (#284) 2 years ago
plex Adopt Compose v2 (#240) 3 years ago
portainer Adopt Compose v2 (#240) 3 years ago
postgresql-pgadmin Fix Typo postgresql-pgadmin compose (#289) 2 years ago
prometheus-grafana Adopt Compose v2 (#240) 3 years ago
react-express-mongodb react-express-mongodb: remove container_name to allow multiple apps in parallel (#310) 2 years ago
react-express-mysql Add "Open in Docker Dev Environments" links (#280) 2 years ago
react-java-mysql fix: update underscores to dashes for naming convention (#286) 2 years ago
react-nginx Add "Open in Docker Dev Environments" links (#280) 2 years ago
react-rust-postgres Add "Open in Docker Dev Environments" links (#280) 2 years ago
sparkjava Add "Open in Docker Dev Environments" links (#280) 2 years ago
sparkjava-mysql Add "Open in Docker Dev Environments" links (#280) 2 years ago
spring-postgres Add "Open in Docker Dev Environments" links (#280) 2 years ago
traefik-golang Add "Open in Docker Dev Environments" links (#280) 2 years ago
vuejs Add "Open in Docker Dev Environments" links (#280) 2 years ago
wasmedge-kafka-mysql Feat: add Docker+wasm examples (#309) 2 years ago
wasmedge-mysql-nginx Feat: add Docker+wasm examples (#309) 2 years ago
wireguard Adopt Compose v2 (#240) 3 years ago
wordpress-mysql Adopt Compose v2 (#240) 3 years ago
.gitattributes repo init 5 years ago
CONTRIBUTING.md the 4 years ago
LICENSE Update License to CC0 5 years ago
MAINTAINERS Compliance to awesome repository requirements 5 years ago
README.md Feat: add Docker+wasm examples (#309) 2 years ago
awesome-compose.jpg repo init 5 years ago
icon_devenvs.svg identify samples usable with Docker Dev Environments (#279) 2 years ago
icon_wasm.svg Feat: add Docker+wasm examples (#309) 2 years ago
open_in_new.svg Add "Open in Docker Dev Environments" links (#280) 2 years ago

README.md

Awesome Compose Awesome

logo

A curated list of Docker Compose samples.

These samples provide a starting point for how to integrate different services using a Compose file and to manage their deployment with Docker Compose.

Note The following samples are intended for use in local development environments such as project setups, tinkering with software stacks, etc. These samples must not be deployed in production environments.

Contents

Samples of Docker Compose applications with multiple integrated services

Use with Docker Dev Environments Icon indicates Sample is compatible with Docker Dev Environments in Docker Desktop version 4.10 or later.

Docker + wasm Icon indicates Sample is compatible with Docker+Wasm.

Single service samples

Use with Docker Dev Environments Icon indicates Sample is compatible with Docker Dev Environments in Docker Desktop version 4.10 or later.

Basic setups for different platforms (not production ready - useful for personal use)

Getting started

These instructions will get you through the bootstrap phase of creating and deploying samples of containerized applications with Docker Compose.

Prerequisites

Running a sample

The root directory of each sample contains the compose.yaml which describes the configuration of service components. All samples can be run in a local environment by going into the root directory of each one and executing:

docker compose up -d

Check the README.md of each sample to get more details on the structure and what is the expected output. To stop and remove all containers of the sample application run:

docker compose down

Quickstart guides

In addition to all the ready to run Compose samples listed above the folder official-documentation-samples contains quickstart guides. Each of these step by step guides explain which files need to be created to build and run a Docker Compose application.

Contribute

We welcome examples that help people understand how to use Docker Compose for common applications. Check the Contribution Guide for more details.