From 18f59bdb09ecf520dd5758fbf90dec314baec545 Mon Sep 17 00:00:00 2001
From: Guillaume Lours <705411+glours@users.noreply.github.com>
Date: Wed, 15 May 2024 11:17:42 +0200
Subject: [PATCH] remove references to Dev Environments feature
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
---
README.md | 50 +++++++--------
angular/.docker/docker-compose.yaml | 11 ----
angular/README.md | 7 --
apache-php/.docker/docker-compose.yaml | 10 ---
apache-php/README.md | 7 --
django/.docker/docker-compose.yaml | 9 ---
django/README.md | 7 --
fastapi/.docker/docker-compose.yaml | 13 ----
fastapi/README.md | 7 --
flask-redis/.docker/docker-compose.yaml | 16 -----
flask-redis/README.md | 7 --
flask/.docker/docker-compose.yaml | 10 ---
flask/README.md | 7 --
icon_devenvs.svg | 8 ---
.../.docker/docker-compose.yaml | 38 -----------
nginx-aspnet-mysql/README.md | 9 +--
nginx-flask-mongo/.docker/docker-compose.yaml | 27 --------
nginx-flask-mongo/README.md | 7 --
nginx-flask-mysql/.docker/docker-compose.yaml | 61 ------------------
nginx-flask-mysql/README.md | 7 --
.../.docker/docker-compose.yaml | 50 ---------------
nginx-golang-mysql/README.md | 9 +--
.../.docker/docker-compose.yaml | 50 ---------------
nginx-golang-postgres/README.md | 9 +--
nginx-golang/.docker/docker-compose.yaml | 19 ------
nginx-golang/README.md | 7 --
.../.docker/docker-compose.yaml | 42 ------------
react-express-mongodb/README.md | 7 --
.../.docker/docker-compose.yaml | 64 -------------------
react-express-mysql/README.md | 7 --
react-java-mysql/.docker/docker-compose.yaml | 61 ------------------
react-java-mysql/README.md | 7 --
react-nginx/.docker/docker-compose.yaml | 11 ----
react-nginx/README.md | 7 --
.../.docker/docker-compose.yaml | 51 ---------------
react-rust-postgres/readme.md | 7 --
sparkjava-mysql/.docker/docker-compose.yaml | 32 ----------
sparkjava-mysql/README.md | 7 --
sparkjava/.docker/docker-compose.yaml | 9 ---
sparkjava/README.md | 7 --
spring-postgres/.docker/docker-compose.yaml | 34 ----------
spring-postgres/README.md | 7 --
traefik-golang/.docker/docker-compose.yaml | 22 -------
traefik-golang/README.md | 7 --
vuejs/.docker/docker-compose.yaml | 9 ---
vuejs/README.md | 7 --
.../.docker/docker-compose.yml | 36 -----------
wasmedge-kafka-mysql/README.md | 7 --
.../.docker/docker-compose.yml | 25 --------
wasmedge-mysql-nginx/README.md | 7 --
50 files changed, 26 insertions(+), 916 deletions(-)
delete mode 100644 angular/.docker/docker-compose.yaml
delete mode 100644 apache-php/.docker/docker-compose.yaml
delete mode 100644 django/.docker/docker-compose.yaml
delete mode 100644 fastapi/.docker/docker-compose.yaml
delete mode 100644 flask-redis/.docker/docker-compose.yaml
delete mode 100644 flask/.docker/docker-compose.yaml
delete mode 100644 icon_devenvs.svg
delete mode 100644 nginx-aspnet-mysql/.docker/docker-compose.yaml
delete mode 100644 nginx-flask-mongo/.docker/docker-compose.yaml
delete mode 100644 nginx-flask-mysql/.docker/docker-compose.yaml
delete mode 100644 nginx-golang-mysql/.docker/docker-compose.yaml
delete mode 100644 nginx-golang-postgres/.docker/docker-compose.yaml
delete mode 100644 nginx-golang/.docker/docker-compose.yaml
delete mode 100644 react-express-mongodb/.docker/docker-compose.yaml
delete mode 100644 react-express-mysql/.docker/docker-compose.yaml
delete mode 100644 react-java-mysql/.docker/docker-compose.yaml
delete mode 100755 react-nginx/.docker/docker-compose.yaml
delete mode 100644 react-rust-postgres/.docker/docker-compose.yaml
delete mode 100644 sparkjava-mysql/.docker/docker-compose.yaml
delete mode 100644 sparkjava/.docker/docker-compose.yaml
delete mode 100644 spring-postgres/.docker/docker-compose.yaml
delete mode 100644 traefik-golang/.docker/docker-compose.yaml
delete mode 100644 vuejs/.docker/docker-compose.yaml
delete mode 100644 wasmedge-kafka-mysql/.docker/docker-compose.yml
delete mode 100644 wasmedge-mysql-nginx/.docker/docker-compose.yml
diff --git a/README.md b/README.md
index 50076f9be..86f9adc2b 100644
--- a/README.md
+++ b/README.md
@@ -18,58 +18,54 @@ These samples provide a starting point for how to integrate different services u
## Samples of Docker Compose applications with multiple integrated services
-
Icon indicates Sample is compatible with [Docker Dev Environments](https://docs.docker.com/desktop/dev-environments/) in Docker Desktop version 4.10 or later.
-
Icon indicates Sample is compatible with [Docker+Wasm](https://docs.docker.com/desktop/wasm/).
- [`ASP.NET / MS-SQL`](aspnet-mssql) - Sample ASP.NET core application
with MS SQL server database.
- [`Elasticsearch / Logstash / Kibana`](elasticsearch-logstash-kibana) - Sample Elasticsearch, Logstash, and Kibana stack.
- [`Go / NGINX / MySQL`](nginx-golang-mysql) - Sample Go application
-with an Nginx proxy and a MySQL database.
+with an Nginx proxy and a MySQL database.
- [`Go / NGINX / PostgreSQL`](nginx-golang-postgres) - Sample Go
-application with an Nginx proxy and a PostgreSQL database.
+application with an Nginx proxy and a PostgreSQL database.
- [`Java Spark / MySQL`](sparkjava-mysql) - Sample Java application and
-a MySQL database.
-- [`NGINX / ASP.NET / MySQL`](nginx-aspnet-mysql) - Sample Nginx reverse proxy with an C# backend using ASP.NET
+a MySQL database.
+- [`NGINX / ASP.NET / MySQL`](nginx-aspnet-mysql) - Sample Nginx reverse proxy with an C# backend using ASP.NET.
- [`NGINX / Flask / MongoDB`](nginx-flask-mongo) - Sample Python/Flask
-application with Nginx proxy and a Mongo database.
+application with Nginx proxy and a Mongo database.
- [`NGINX / Flask / MySQL`](nginx-flask-mysql) - Sample Python/Flask application with an Nginx proxy and a MySQL database.
-- [`NGINX / Node.js / Redis`](nginx-nodejs-redis) - Sample Node.js application with Nginx proxy and a Redis database
-- [`NGINX / Go`](nginx-golang) - Sample Nginx proxy with a Go backend.
+- [`NGINX / Node.js / Redis`](nginx-nodejs-redis) - Sample Node.js application with Nginx proxy and a Redis database.
+- [`NGINX / Go`](nginx-golang) - Sample Nginx proxy with a Go backend.
- [`NGINX / WSGI / Flask`](nginx-wsgi-flask) - Sample Nginx reverse proxy with a Flask backend using WSGI.
-- [`PostgreSQL / pgAdmin`](postgresql-pgadmin) - Sample setup for postgreSQL database with pgAdmin web interface
-- [`Python / Flask / Redis`](flask-redis) - Sample Python/Flask and a Redis database
+- [`PostgreSQL / pgAdmin`](postgresql-pgadmin) - Sample setup for postgreSQL database with pgAdmin web interface.
+- [`Python / Flask / Redis`](flask-redis) - Sample Python/Flask and a Redis database.
- [`React / Spring / MySQL`](react-java-mysql) - Sample React
-application with a Spring backend and a MySQL database.
+application with a Spring backend and a MySQL database.
- [`React / Express / MySQL`](react-express-mysql) - Sample React
-application with a Node.js backend and a MySQL database.
+application with a Node.js backend and a MySQL database.
- [`React / Express / MongoDB`](react-express-mongodb) - Sample React
-application with a Node.js backend and a Mongo database.
+application with a Node.js backend and a Mongo database.
- [`React / Rust / PostgreSQL`](react-rust-postgres) - Sample React
-application with a Rust backend and a Postgres database.
-- [`React / Nginx`](react-nginx) - Sample React application with Nginx.
+application with a Rust backend and a Postgres database.
+- [`React / Nginx`](react-nginx) - Sample React application with Nginx.
- [`Spring / PostgreSQL`](spring-postgres) - Sample Java application
-with Spring framework and a Postgres database.
+with Spring framework and a Postgres database.
- [`WasmEdge / MySQL / Nginx`](wasmedge-mysql-nginx) - Sample Wasm-based web application with a static HTML frontend, using a MySQL (MariaDB) database. The frontend connects to a Wasm microservice written in Rust, that runs using the WasmEdge runtime.
- [`WasmEdge / Kafka / MySQL`](wasmedge-kafka-mysql) - Sample Wasm-based microservice that subscribes to a Kafka (Redpanda) queue topic, and transforms and saves any incoming message into a MySQL (MariaDB) database.
## Single service samples
-
Icon indicates Sample is compatible with [Docker Dev Environments](https://docs.docker.com/desktop/dev-environments/) in Docker Desktop version 4.10 or later.
-
-- [`Angular`](angular)
-- [`Spark`](sparkjava)
-- [`VueJS`](vuejs)
-- [`Flask`](flask)
-- [`PHP`](apache-php)
-- [`Traefik`](traefik-golang)
-- [`Django`](django)
+- [`Angular`](angular)
+- [`Spark`](sparkjava)
+- [`VueJS`](vuejs)
+- [`Flask`](flask)
+- [`PHP`](apache-php)
+- [`Traefik`](traefik-golang)
+- [`Django`](django)
- [`Minecraft server`](https://github.com/docker/awesome-compose/tree/master/minecraft)
- [`Plex`](https://github.com/docker/awesome-compose/tree/master/plex)
- [`Portainer`](https://github.com/docker/awesome-compose/tree/master/portainer)
- [`Wireguard`](https://github.com/docker/awesome-compose/tree/master/wireguard)
-- [`FastAPI`](fastapi)
+- [`FastAPI`](fastapi)
## Basic setups for different platforms (not production ready - useful for personal use)
diff --git a/angular/.docker/docker-compose.yaml b/angular/.docker/docker-compose.yaml
deleted file mode 100644
index 291043357..000000000
--- a/angular/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-services:
- web:
- build:
- context: angular
- target: dev-envs
- ports:
- - 4200:4200
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- - ./angular:/project
- - /project/node_modules
diff --git a/angular/README.md b/angular/README.md
index 6d164a64a..19fb867ab 100644
--- a/angular/README.md
+++ b/angular/README.md
@@ -1,11 +1,4 @@
## Compose sample
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/angular)
-
### Angular service
Project structure:
diff --git a/apache-php/.docker/docker-compose.yaml b/apache-php/.docker/docker-compose.yaml
deleted file mode 100644
index 817b0fc57..000000000
--- a/apache-php/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-services:
- web:
- build:
- context: app
- target: dev-envs
- ports:
- - '80:80'
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- - ./app:/var/www/html/
diff --git a/apache-php/README.md b/apache-php/README.md
index 7179b8faa..1ef50ad6a 100644
--- a/apache-php/README.md
+++ b/apache-php/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/apache-php)
-
### PHP application with Apache2
Project structure:
diff --git a/django/.docker/docker-compose.yaml b/django/.docker/docker-compose.yaml
deleted file mode 100644
index 1f340f8e1..000000000
--- a/django/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
-services:
- web:
- build:
- context: app
- target: dev-envs
- ports:
- - '8000:8000'
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
\ No newline at end of file
diff --git a/django/README.md b/django/README.md
index 53c97f5c9..2a187330f 100644
--- a/django/README.md
+++ b/django/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/django)
-
### Django application in dev mode
Project structure:
diff --git a/fastapi/.docker/docker-compose.yaml b/fastapi/.docker/docker-compose.yaml
deleted file mode 100644
index d4f218889..000000000
--- a/fastapi/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-services:
- api:
- build:
- context: .
- target: dev-envs
- container_name: fastapi-application
- environment:
- PORT: 8000
- ports:
- - '8000:8000'
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- restart: "no"
diff --git a/fastapi/README.md b/fastapi/README.md
index 13434de0a..69e6796f2 100644
--- a/fastapi/README.md
+++ b/fastapi/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/fastapi)
-
### Python/FastAPI application
Project structure:
diff --git a/flask-redis/.docker/docker-compose.yaml b/flask-redis/.docker/docker-compose.yaml
deleted file mode 100644
index a6874340c..000000000
--- a/flask-redis/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-services:
- redis:
- image: redislabs/redismod
- ports:
- - '6379:6379'
- web:
- build:
- context: .
- target: dev-envs
- stop_signal: SIGINT
- ports:
- - '8000:8000'
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- depends_on:
- - redis
diff --git a/flask-redis/README.md b/flask-redis/README.md
index f9dfd037f..029569ea9 100644
--- a/flask-redis/README.md
+++ b/flask-redis/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/flask-redis)
-
### Python/Flask application using a Redis database
Project structure:
diff --git a/flask/.docker/docker-compose.yaml b/flask/.docker/docker-compose.yaml
deleted file mode 100644
index 8e9e1b201..000000000
--- a/flask/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-services:
- web:
- build:
- context: app
- target: dev-envs
- stop_signal: SIGINT
- ports:
- - '8000:8000'
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
diff --git a/flask/README.md b/flask/README.md
index c8b0efd36..6edbd605b 100644
--- a/flask/README.md
+++ b/flask/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/flask)
-
### Python/Flask application
Project structure:
diff --git a/icon_devenvs.svg b/icon_devenvs.svg
deleted file mode 100644
index 80830fe9f..000000000
--- a/icon_devenvs.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
diff --git a/nginx-aspnet-mysql/.docker/docker-compose.yaml b/nginx-aspnet-mysql/.docker/docker-compose.yaml
deleted file mode 100644
index 51607b887..000000000
--- a/nginx-aspnet-mysql/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-services:
- backend:
- build:
- context: backend
- target: dev-envs
- restart: always
- secrets:
- - db-password
- depends_on: ['db']
- environment:
- - ASPNETCORE_URLS=http://+:8000
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
-
- db:
- image: mariadb:10-focal
- command: '--default-authentication-plugin=mysql_native_password'
- restart: always
- secrets:
- - db-password
- volumes:
- - db-data:/var/lib/mysql
- environment:
- - MYSQL_DATABASE=example
- - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
-
- proxy:
- build: proxy
- ports:
- - 80:80
- depends_on:
- - backend
-
-volumes:
- db-data:
-secrets:
- db-password:
- file: db/password.txt
diff --git a/nginx-aspnet-mysql/README.md b/nginx-aspnet-mysql/README.md
index e18863c3b..e013ce6d8 100644
--- a/nginx-aspnet-mysql/README.md
+++ b/nginx-aspnet-mysql/README.md
@@ -1,12 +1,5 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/nginx-aspnet-mysql)
-
-### ASP.NET server with an Nginx proxy and a MySQL database
+### ASP.NET server with a Nginx proxy and a MySQL database
Project structure:
```
diff --git a/nginx-flask-mongo/.docker/docker-compose.yaml b/nginx-flask-mongo/.docker/docker-compose.yaml
deleted file mode 100644
index 63cd95bed..000000000
--- a/nginx-flask-mongo/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-services:
- web:
- image: nginx
- volumes:
- - ./nginx/nginx.conf:/tmp/nginx.conf
- environment:
- - FLASK_SERVER_ADDR=backend:9091
- command: /bin/bash -c "envsubst < /tmp/nginx.conf > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
- ports:
- - 80:80
- depends_on:
- - backend
-
- backend:
- build:
- context: flask
- target: dev-envs
- stop_signal: SIGINT
- environment:
- - FLASK_SERVER_PORT=9091
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- depends_on:
- - mongo
-
- mongo:
- image: mongo
diff --git a/nginx-flask-mongo/README.md b/nginx-flask-mongo/README.md
index 97fa9ff01..17e925feb 100644
--- a/nginx-flask-mongo/README.md
+++ b/nginx-flask-mongo/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/nginx-flask-mongo)
-
### Python/Flask application with Nginx proxy and a Mongo database
Project structure:
diff --git a/nginx-flask-mysql/.docker/docker-compose.yaml b/nginx-flask-mysql/.docker/docker-compose.yaml
deleted file mode 100644
index b15dda785..000000000
--- a/nginx-flask-mysql/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,61 +0,0 @@
-services:
- db:
- image: mariadb:10-focal
- command: '--default-authentication-plugin=mysql_native_password'
- restart: always
- healthcheck:
- test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"]
- interval: 3s
- retries: 5
- start_period: 30s
- secrets:
- - db-password
- volumes:
- - db-data:/var/lib/mysql
- networks:
- - backnet
- environment:
- - MYSQL_DATABASE=example
- - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
- expose:
- - 3306
- - 33060
-
- backend:
- build:
- context: backend
- target: dev-envs
- restart: always
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- secrets:
- - db-password
- ports:
- - 8000:8000
- networks:
- - backnet
- - frontnet
- depends_on:
- db:
- condition: service_healthy
-
- proxy:
- build: proxy
- restart: always
- ports:
- - 80:80
- depends_on:
- - backend
- networks:
- - frontnet
-
-volumes:
- db-data:
-
-secrets:
- db-password:
- file: db/password.txt
-
-networks:
- backnet:
- frontnet:
diff --git a/nginx-flask-mysql/README.md b/nginx-flask-mysql/README.md
index 291612ce5..466c2eabb 100644
--- a/nginx-flask-mysql/README.md
+++ b/nginx-flask-mysql/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/nginx-flask-mysql)
-
### Python/Flask with Nginx proxy and MySQL database
Project structure:
diff --git a/nginx-golang-mysql/.docker/docker-compose.yaml b/nginx-golang-mysql/.docker/docker-compose.yaml
deleted file mode 100644
index d04af29ee..000000000
--- a/nginx-golang-mysql/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,50 +0,0 @@
-services:
- backend:
- build:
- context: backend
- target: dev-envs
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- secrets:
- - db-password
- depends_on:
- db:
- condition: service_healthy
-
- db:
- image: mariadb:10-focal
- command: '--default-authentication-plugin=mysql_native_password'
- restart: always
- healthcheck:
- test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"]
- interval: 3s
- retries: 5
- start_period: 30s
- secrets:
- - db-password
- volumes:
- - db-data:/var/lib/mysql
- environment:
- - MYSQL_DATABASE=example
- - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
- expose:
- - 3306
-
- proxy:
- image: nginx
- volumes:
- - type: bind
- source: ./proxy/nginx.conf
- target: /etc/nginx/conf.d/default.conf
- read_only: true
- ports:
- - 80:80
- depends_on:
- - backend
-
-volumes:
- db-data:
-
-secrets:
- db-password:
- file: db/password.txt
diff --git a/nginx-golang-mysql/README.md b/nginx-golang-mysql/README.md
index 1696a85bd..8107ec0fd 100644
--- a/nginx-golang-mysql/README.md
+++ b/nginx-golang-mysql/README.md
@@ -1,12 +1,5 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/nginx-golang-mysql)
-
-### Go server with an Nginx proxy and a MariaDB/MySQL database
+### Go server with a Nginx proxy and a MariaDB/MySQL database
Project structure:
```
diff --git a/nginx-golang-postgres/.docker/docker-compose.yaml b/nginx-golang-postgres/.docker/docker-compose.yaml
deleted file mode 100644
index 0176bb184..000000000
--- a/nginx-golang-postgres/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,50 +0,0 @@
-services:
- backend:
- build:
- context: backend
- target: dev-envs
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- secrets:
- - db-password
- depends_on:
- db:
- condition: service_healthy
-
- db:
- image: postgres
- restart: always
- user: postgres
- secrets:
- - db-password
- volumes:
- - db-data:/var/lib/postgresql/data
- environment:
- - POSTGRES_DB=example
- - POSTGRES_PASSWORD_FILE=/run/secrets/db-password
- expose:
- - 5432
- healthcheck:
- test: [ "CMD", "pg_isready" ]
- interval: 10s
- timeout: 5s
- retries: 5
-
- proxy:
- image: nginx
- volumes:
- - type: bind
- source: ./proxy/nginx.conf
- target: /etc/nginx/conf.d/default.conf
- read_only: true
- ports:
- - 80:80
- depends_on:
- - backend
-
-volumes:
- db-data:
-
-secrets:
- db-password:
- file: db/password.txt
diff --git a/nginx-golang-postgres/README.md b/nginx-golang-postgres/README.md
index 1671ec8a0..8ea6e20ad 100644
--- a/nginx-golang-postgres/README.md
+++ b/nginx-golang-postgres/README.md
@@ -1,12 +1,5 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/nginx-golang-postgres)
-
-### Go server with an Nginx proxy and a Postgres database
+### Go server with a Nginx proxy and a Postgres database
Project structure:
```
diff --git a/nginx-golang/.docker/docker-compose.yaml b/nginx-golang/.docker/docker-compose.yaml
deleted file mode 100644
index f09c393f9..000000000
--- a/nginx-golang/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-services:
- proxy:
- image: nginx
- volumes:
- - type: bind
- source: ./proxy/nginx.conf
- target: /etc/nginx/conf.d/default.conf
- read_only: true
- ports:
- - 80:80
- depends_on:
- - backend
-
- backend:
- build:
- context: backend
- target: dev-envs
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
diff --git a/nginx-golang/README.md b/nginx-golang/README.md
index 506626b77..57debe8ad 100644
--- a/nginx-golang/README.md
+++ b/nginx-golang/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/nginx-golang)
-
### NGINX proxy with Go backend
Project structure:
diff --git a/react-express-mongodb/.docker/docker-compose.yaml b/react-express-mongodb/.docker/docker-compose.yaml
deleted file mode 100644
index 05114d773..000000000
--- a/react-express-mongodb/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-services:
- frontend:
- build:
- context: frontend
- target: dev-envs
- ports:
- - 3000:3000
- stdin_open: true
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- restart: always
- networks:
- - react-express
- depends_on:
- - backend
-
- backend:
- restart: always
- build:
- context: backend
- target: dev-envs
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- depends_on:
- - mongo
- networks:
- - express-mongo
- - react-express
- expose:
- - 3000
- mongo:
- restart: always
- image: mongo:4.2.0
- volumes:
- - ./data:/data/db
- networks:
- - express-mongo
- expose:
- - 27017
-networks:
- react-express:
- express-mongo:
diff --git a/react-express-mongodb/README.md b/react-express-mongodb/README.md
index 69873cc70..7a30be948 100644
--- a/react-express-mongodb/README.md
+++ b/react-express-mongodb/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/react-express-mongodb)
-
### React application with a NodeJS backend and a MongoDB database
Project structure:
diff --git a/react-express-mysql/.docker/docker-compose.yaml b/react-express-mysql/.docker/docker-compose.yaml
deleted file mode 100644
index ec305298a..000000000
--- a/react-express-mysql/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,64 +0,0 @@
-services:
- backend:
- build:
- args:
- - NODE_ENV=development
- context: backend
- target: dev-envs
- command: npm run start-watch
- environment:
- - DATABASE_DB=example
- - DATABASE_USER=root
- - DATABASE_PASSWORD=/run/secrets/db-password
- - DATABASE_HOST=db
- - NODE_ENV=development
- ports:
- - 80:80
- - 9229:9229
- - 9230:9230
- secrets:
- - db-password
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- networks:
- - public
- - private
- depends_on:
- - db
- db:
- # We use a mariadb image which supports both amd64 & arm64 architecture
- image: mariadb:10.6.4-focal
- # If you really want to use MySQL, uncomment the following line
- #image: mysql:8.0.27
- command: '--default-authentication-plugin=mysql_native_password'
- restart: always
- secrets:
- - db-password
- volumes:
- - db-data:/var/lib/mysql
- networks:
- - private
- environment:
- - MYSQL_DATABASE=example
- - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
- frontend:
- build:
- context: frontend
- target: dev-envs
- ports:
- - 3000:3000
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- networks:
- - public
- depends_on:
- - backend
-networks:
- public:
- private:
-volumes:
- back-notused:
- db-data:
-secrets:
- db-password:
- file: db/password.txt
diff --git a/react-express-mysql/README.md b/react-express-mysql/README.md
index 46c4e4c45..66fad57c5 100644
--- a/react-express-mysql/README.md
+++ b/react-express-mysql/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/react-express-mysql)
-
### React application with a NodeJS backend and a MySQL database
Project structure:
diff --git a/react-java-mysql/.docker/docker-compose.yaml b/react-java-mysql/.docker/docker-compose.yaml
deleted file mode 100644
index 9e9c7b1f1..000000000
--- a/react-java-mysql/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,61 +0,0 @@
-services:
- backend:
- build:
- context: backend
- target: dev-envs
- restart: always
- secrets:
- - db-password
- environment:
- MYSQL_HOST: db
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- networks:
- - react-spring
- - spring-mysql
- depends_on:
- db:
- condition: service_healthy
- db:
- # We use a mariadb image which supports both amd64 & arm64 architecture
- image: mariadb:10.6.4-focal
- # If you really want to use MySQL, uncomment the following line
- #image: mysql:8.0.19
- environment:
- - MYSQL_DATABASE=example
- - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
- restart: always
- healthcheck:
- test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"]
- interval: 3s
- retries: 5
- start_period: 30s
- secrets:
- - db-password
- volumes:
- - db-data:/var/lib/mysql
- networks:
- - spring-mysql
- frontend:
- build:
- context: frontend
- target: dev-envs
- ports:
- - 3000:3000
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- networks:
- - react-spring
- depends_on:
- - backend
- expose:
- - 3306
- - 33060
-volumes:
- db-data: {}
-secrets:
- db-password:
- file: db/password.txt
-networks:
- react-spring: {}
- spring-mysql: {}
diff --git a/react-java-mysql/README.md b/react-java-mysql/README.md
index 94972d68d..ce4520f38 100644
--- a/react-java-mysql/README.md
+++ b/react-java-mysql/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/react-java-mysql)
-
### React application with a Spring backend and a MySQL database
Project structure:
diff --git a/react-nginx/.docker/docker-compose.yaml b/react-nginx/.docker/docker-compose.yaml
deleted file mode 100755
index 285e2045e..000000000
--- a/react-nginx/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-services:
- frontend:
- build:
- context: .
- target: dev-envs
- container_name: frontend
- ports:
- - "80:3000"
- - "3000:3000"
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
diff --git a/react-nginx/README.md b/react-nginx/README.md
index 7b7044a43..b5ef35c43 100755
--- a/react-nginx/README.md
+++ b/react-nginx/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/react-nginx)
-
### An project deploy React Application with Nginx
Project structure:
diff --git a/react-rust-postgres/.docker/docker-compose.yaml b/react-rust-postgres/.docker/docker-compose.yaml
deleted file mode 100644
index 091741d53..000000000
--- a/react-rust-postgres/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-name: react-rust-postgres
-services:
- frontend:
- build:
- context: ../frontend
- target: dev-envs
- networks:
- - client-side
- ports:
- - 3000:3000
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
-
- backend:
- build:
- context: ../backend
- target: dev-envs
- environment:
- - RUST_LOG=debug
- - PG_DBNAME=postgres
- - PG_HOST=db
- - PG_USER=postgres
- - PG_PASSWORD=mysecretpassword
- - ADDRESS=0.0.0.0:8000
- networks:
- - client-side
- - server-side
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- depends_on:
- - db
-
- db:
- image: postgres:12-alpine
- restart: always
- environment:
- - POSTGRES_PASSWORD=mysecretpassword
- networks:
- - server-side
- ports:
- - 5432:5432
- volumes:
- - db-data:/var/lib/postgresql/data
-
-networks:
- client-side: {}
- server-side: {}
-
-volumes:
- backend-cache: {}
- db-data: {}
diff --git a/react-rust-postgres/readme.md b/react-rust-postgres/readme.md
index 298de803a..b800eb41e 100644
--- a/react-rust-postgres/readme.md
+++ b/react-rust-postgres/readme.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/react-rust-postgres)
-
### React application with a Rust backend and a Postgresql database
Project structure:
diff --git a/sparkjava-mysql/.docker/docker-compose.yaml b/sparkjava-mysql/.docker/docker-compose.yaml
deleted file mode 100644
index 3c3160990..000000000
--- a/sparkjava-mysql/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-services:
- backend:
- build:
- context: backend
- target: dev-envs
- ports:
- - 8080:8080
- secrets:
- - db-password
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- db:
- # We use a mariadb image which supports both amd64 & arm64 architecture
- image: mariadb:10.6.4-focal
- # If you really want to use MySQL, uncomment the following line
- #image: mysql:8.0.27
- restart: always
- secrets:
- - db-password
- volumes:
- - db-data:/var/lib/mysql
- environment:
- - MYSQL_DATABASE=example
- - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
- expose:
- - 3306
- - 33060
-volumes:
- db-data:
-secrets:
- db-password:
- file: db/password.txt
diff --git a/sparkjava-mysql/README.md b/sparkjava-mysql/README.md
index 893ea3e9d..0b09e02c8 100644
--- a/sparkjava-mysql/README.md
+++ b/sparkjava-mysql/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/sparkjava-mysql)
-
### Java Spark application with MySQL database
Project structure:
diff --git a/sparkjava/.docker/docker-compose.yaml b/sparkjava/.docker/docker-compose.yaml
deleted file mode 100644
index 6912419b5..000000000
--- a/sparkjava/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
-services:
- sparkjava:
- build:
- context: sparkjava
- target: dev-envs
- ports:
- - 8080:8080
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
diff --git a/sparkjava/README.md b/sparkjava/README.md
index 83d9223d4..224f72f58 100644
--- a/sparkjava/README.md
+++ b/sparkjava/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/sparkjava)
-
### Spark Java
Project structure:
diff --git a/spring-postgres/.docker/docker-compose.yaml b/spring-postgres/.docker/docker-compose.yaml
deleted file mode 100644
index 2237cdeb1..000000000
--- a/spring-postgres/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-services:
- backend:
- build:
- context: backend
- target: dev-envs
- ports:
- - 8080:8080
- environment:
- - POSTGRES_DB=example
- networks:
- - spring-postgres
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- db:
- image: postgres
- restart: always
- secrets:
- - db-password
- volumes:
- - db-data:/var/lib/postgresql/data
- networks:
- - spring-postgres
- environment:
- - POSTGRES_DB=example
- - POSTGRES_PASSWORD_FILE=/run/secrets/db-password
- expose:
- - 5432
-volumes:
- db-data:
-secrets:
- db-password:
- file: db/password.txt
-networks:
- spring-postgres:
diff --git a/spring-postgres/README.md b/spring-postgres/README.md
index ca4e9cb48..da635827f 100644
--- a/spring-postgres/README.md
+++ b/spring-postgres/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/spring-postgres)
-
### Java application with Spring framework and a Postgres database
Project structure:
diff --git a/traefik-golang/.docker/docker-compose.yaml b/traefik-golang/.docker/docker-compose.yaml
deleted file mode 100644
index 704fb964c..000000000
--- a/traefik-golang/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-services:
- frontend:
- image: traefik:2.6
- command: --providers.docker --entrypoints.web.address=:80 --providers.docker.exposedbydefault=false
- ports:
- # The HTTP port
- - "80:80"
- volumes:
- # So that Traefik can listen to the Docker events
- - /var/run/docker.sock:/var/run/docker.sock
- depends_on:
- - backend
- backend:
- build:
- context: backend
- target: dev-envs
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- labels:
- - "traefik.enable=true"
- - "traefik.http.routers.go.rule=Path(`/`)"
- - "traefik.http.services.go.loadbalancer.server.port=80"
diff --git a/traefik-golang/README.md b/traefik-golang/README.md
index 7a86e7599..f4dc3ce86 100644
--- a/traefik-golang/README.md
+++ b/traefik-golang/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/traefik-golang)
-
### TRAEFIK proxy with GO backend
Project structure:
diff --git a/vuejs/.docker/docker-compose.yaml b/vuejs/.docker/docker-compose.yaml
deleted file mode 100644
index 7f0c50b36..000000000
--- a/vuejs/.docker/docker-compose.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
-services:
- web:
- build:
- context: vuejs
- target: dev-envs
- ports:
- - 8080:8080
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
diff --git a/vuejs/README.md b/vuejs/README.md
index 1fd4d1dfc..8ff567f45 100644
--- a/vuejs/README.md
+++ b/vuejs/README.md
@@ -1,11 +1,4 @@
## Compose sample application
-
-### Use with Docker Development Environments
-
-You can open this sample in the Dev Environments feature of Docker Desktop version 4.12 or later.
-
-[Open in Docker Dev Environments
](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/vuejs)
-
### VueJS
Project structure:
diff --git a/wasmedge-kafka-mysql/.docker/docker-compose.yml b/wasmedge-kafka-mysql/.docker/docker-compose.yml
deleted file mode 100644
index 616310861..000000000
--- a/wasmedge-kafka-mysql/.docker/docker-compose.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-services:
- redpanda:
- image: docker.redpanda.com/vectorized/redpanda:v22.2.2
- command:
- - redpanda start
- - --smp 1
- - --overprovisioned
- - --node-id 0
- - --kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092
- - --advertise-kafka-addr PLAINTEXT://redpanda:29092,OUTSIDE://redpanda:9092
- - --pandaproxy-addr 0.0.0.0:8082
- - --advertise-pandaproxy-addr localhost:8082
- ports:
- - 8081:8081
- - 8082:8082
- - 9092:9092
- - 9644:9644
- - 29092:29092
- volumes:
- - ./kafka:/app
- etl:
- image: etl-kafka
- platform: wasi/wasm
- build:
- context: etl
- environment:
- DATABASE_URL: mysql://root:whalehello@db:3306/mysql
- KAFKA_URL: kafka://redpanda:9092/order
- RUST_BACKTRACE: full
- RUST_LOG: info
- restart: unless-stopped
- runtime: io.containerd.wasmedge.v1
- db:
- image: mariadb:10.9
- environment:
- MYSQL_ROOT_PASSWORD: whalehello
diff --git a/wasmedge-kafka-mysql/README.md b/wasmedge-kafka-mysql/README.md
index 1efd5d7c8..b56d2759e 100644
--- a/wasmedge-kafka-mysql/README.md
+++ b/wasmedge-kafka-mysql/README.md
@@ -4,13 +4,6 @@
This sample demonstrates a WebAssembly (Wasm) microservice written in Rust. It subscribes to a Kafka queue topic on a Redpanda server, and then transforms and saves each message into a MySQL (MariaDB) database table. The microservice is compiled into Wasm and runs in the WasmEdge runtime, which is a secure and lightweight alternative to natively compiled Rust apps in Linux containers.
-## Use with Docker Development Environments
-
-You will need a version of Docker Desktop or Docker CLI with Wasm support.
-
-* [Install Docker Desktop + Wasm (Beta)](https://docs.docker.com/desktop/wasm/)
-* [Install Docker CLI + Wasm](https://github.com/chris-crone/wasm-day-na-22/tree/main/server)
-
## WasmEdge server with Redpanda and MySQL database
Project structure:
diff --git a/wasmedge-mysql-nginx/.docker/docker-compose.yml b/wasmedge-mysql-nginx/.docker/docker-compose.yml
deleted file mode 100644
index 86559a83c..000000000
--- a/wasmedge-mysql-nginx/.docker/docker-compose.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-services:
- frontend:
- image: nginx:alpine
- ports:
- - 8090:80
- volumes:
- - ./frontend:/usr/share/nginx/html
-
- backend:
- image: demo-microservice
- platform: wasi/wasm
- build:
- context: backend/
- ports:
- - 8080:8080
- environment:
- DATABASE_URL: mysql://root:whalehello@db:3306/mysql
- RUST_BACKTRACE: full
- restart: unless-stopped
- runtime: io.containerd.wasmedge.v1
-
- db:
- image: mariadb:10.9
- environment:
- MYSQL_ROOT_PASSWORD: whalehello
diff --git a/wasmedge-mysql-nginx/README.md b/wasmedge-mysql-nginx/README.md
index 7396c6a59..d3259655d 100644
--- a/wasmedge-mysql-nginx/README.md
+++ b/wasmedge-mysql-nginx/README.md
@@ -4,13 +4,6 @@
This sample demonstrates a web application with a WebAssembly (Wasm) microservice, written in Rust. The Wasm microservice is an HTTP API connected to a MySQL (MariaDB) database. The API is invoked via from JavaScript in a web interface serving static HTML. The microservice is compiled into WebAssembly (Wasm) and runs in the WasmEdge Runtime, a secure and lightweight alternative to natively compiled Rust apps in Linux containers. Checkout [this article](https://blog.logrocket.com/rust-microservices-server-side-webassembly/) or [this video](https://www.youtube.com/watch?v=VSqMPFr7SEs) to learn how the Rust code in this microservice works.
-## Use with Docker Development Environments
-
-You will need a version of Docker Desktop or Docker CLI with Wasm support.
-
-* [Install Docker Desktop + Wasm (Beta)](https://docs.docker.com/desktop/wasm/)
-* [Install Docker CLI + Wasm](https://github.com/chris-crone/wasm-day-na-22/tree/main/server)
-
## WasmEdge server with Nginx proxy and MySQL database
Project structure: