Commit Graph

268 Commits

Author SHA1 Message Date
Adolfo Delorenzo e56d2713fb Update 'fastapi/compose.yaml' 2023-02-02 16:58:51 +00:00
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>
2023-01-09 16:30:59 -05:00
Stefan Scherer 6f15838d24
react-express-mongodb: remove container_name to allow multiple apps in parallel (#310)
Remove `container_name` to allow multiple apps without conflict.

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2022-12-08 16:21:16 -05:00
Stefan Scherer e3ea3e9044
Add compose samples from docs (#305)
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2022-10-28 09:46:40 +02:00
Rick f571d32d60
Fix Typo postgresql-pgadmin compose (#289)
Signed-off-by: Rick <65357976+RickyAlbanese@users.noreply.github.com>
2022-09-19 17:58:54 +02:00
Bhavik Parmar 576298fe09
Fix PiHole Docs Typo (#284)
* fix breaking link

Signed-off-by: Bhavik Parmar <38880921+bhavik2936@users.noreply.github.com>

* fix typo

correct logical typo: be static
Signed-off-by: Bhavik Parmar <38880921+bhavik2936@users.noreply.github.com>

Signed-off-by: Bhavik Parmar <38880921+bhavik2936@users.noreply.github.com>
2022-09-19 09:05:14 +02:00
Jalexchen d9bea6d801
fix: update underscores to dashes for naming convention (#286)
Signed-off-by: Jeff Chen <jeff.chen@circleci.com>
2022-09-15 08:34:10 +02:00
Nick Sieger c2f8036fd3
Add "Open in Docker Dev Environments" links (#280)
* readme: add devenvs links in READMEs

Signed-off-by: Nick Sieger <nick@nicksieger.com>
2022-09-01 11:39:33 -05:00
Guillaume Lours d7f81842a4
identify samples usable with Docker Dev Environments (#279)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-08-09 10:30:30 +02:00
GanjMonk 7445f7cf90
spring dependencies fix (#277)
there is no dependencies directory before prepare-production build step

Signed-off-by: GanjMonk <solov333@gmail.com>
2022-07-20 19:05:41 +02:00
Milas Bowman f3293008b0
nginx-golang-mysql: add dev envs support (#274)
* Add Docker Desktop Development Environments config
* Use nginx image with read-only bind mount instead of building a
  custom image
* Upgrade Go dependencies

Co-authored-by: Guillaume Lours <guillaume@lours.me>
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-13 09:06:24 -04:00
Milas Bowman 111c55d56b
nginx-flask-mysql: add dev envs support (#272)
* Add Docker Desktop Development Environments config
* Change port `5000` -> `8000` for Flask to avoid conflicts on
  recent macOS versions
* Improve DB health check (for non-dev envs case) to avoid
  producing a bunch of log spam

Co-authored-by: Guillaume Lours <guillaume@lours.me>
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-13 08:44:29 -04:00
Guillaume Lours 20089c790b
add configuration to use react-nginx sample with Docker Dev Environments feature (#269)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-13 10:57:34 +02:00
Guillaume Lours e45810975f
add configuration to use react-express-mysql sample with Docker Dev Environments feature (#270)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-13 10:35:12 +02:00
Guillaume Lours 74317904bd
add configuration to use react-express-mongo sample with Docker Dev Environments feature (#271)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-13 10:15:53 +02:00
Milas Bowman 9f4f9d8fb8
nginx-aspnet-mysql: add dev envs configuration (#267)
* nginx-aspnet-mysql: add dev envs configuration
* Fix/enable MySQL/MariaDB health check
* Refactor `Dockerfile` for use as Compose app as well as with
  dev envs
* nginx-aspnet-mysql: remove DB healthcheck from dev envs config

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-12 14:39:02 +02:00
Guillaume Lours 00c7d85f0e
add configuration to use sparkjava sample with Docker Dev Environments feature (#261)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-12 12:22:52 +02:00
Guillaume Lours f716bfb382
add configuration to use django sample with Docker Dev Environments feature (#252)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-12 12:18:35 +02:00
Guillaume Lours 34115dcd3c
add configuration to use vuejs sample with Docker Dev Environments feature (#253)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-12 12:13:43 +02:00
Guillaume Lours 6ac068dfc6
add configuration to use traefik-golang sample with Docker Dev Environments feature (#254)
* add configuration to use traefik-golang sample with Docker Dev Environments feature
* use apt-get instead of apt and --no-install-recommends option

Co-authored-by: Milas Bowman <milasb@gmail.com>
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-12 12:09:52 +02:00
Milas Bowman 70b1d1f65f
angular: fix readme for dev envs (#260)
I accidentally edited the wrong `README`, which was the inner one
from the app generated by Angular CLI rather than the project
one about Compose.

Restored the old one and moved the dev envs info to the root/Compose
README.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-12 12:05:12 +02:00
Milas Bowman c172cd7f01
nginx-flask-mongo: add dev envs support (#268)
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-12 11:31:52 +02:00
Milas Bowman 42f6713231
nginx-golang: add dev envs support (#273)
* Add Docker Desktop Developer Environments config
* Upgrade from Go 1.13 (🙀) to 1.18
* Rename `frontend` -> `proxy` for clarity & consistency
  with other samples
* Add Chi as a dependency to provide an example of Go
  module dependencies for parity with other samples

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-12 10:27:45 +02:00
Milas Bowman 7f5179ea3e
nginx-golang-postgres: add dev envs config (#275)
* Add Docker Desktop Development Environments config
* Upgrade to Go 1.18
* Replace nginx build with image + read-only bind mount

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-12 10:08:02 +02:00
Guillaume Lours 9d547d23fb
add configuration to use spring-postgres sample with Docker Dev Environments feature (#258)
* add configuration to use spring-postgres sample with Docker Dev Environments feature

Co-authored-by: Milas Bowman <milasb@gmail.com>
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-09 00:51:47 +02:00
Guillaume Lours eb837eba55
add configuration to use sparkjave-mysql sample with Docker Dev Environments feature (#257)
add configuration to use sparkjava-mysql sample with Docker Dev Environments feature

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-08 18:21:41 +02:00
Guillaume Lours c781f1cbb4
add configuration to use react-rust-postgres sample with Docker Dev Environments feature (#264)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-08 17:54:08 +02:00
Milas Bowman b53e4542c9
flask-redis: dev envs support & misc improvements (#265)
(Most of this is almost identical to #263.)

* Docker Desktop Development Environments config
* Use cache volumes for pip
* Downgrade from Python 3.11 _alpha_ -> Python 3.10
* Use port `8000` to avoid conflicts with Airplay on
    macOS for default Flask port `5000`
* Use `SIGINT` to gracefully stop Flask
* Formatting fixes in `compose.yaml`

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-08 16:48:08 +02:00
Milas Bowman ec552567c7
flask: dev envs support & misc improvements (#263)
* Docker Desktop Development Environments config
* Use cache volumes for pip
* Upgrade from Python 3.7 -> Python 3.10
* Use port `8000` to avoid conflicts with Airplay on
  macOS for default Flask port `5000`
* Use `SIGINT` to gracefully stop Flask

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-08 09:22:59 -04:00
Guillaume Lours 457fe0e668
Merge pull request #262 from milas/dev-envs-fastapi
fastapi: add dev envs support
2022-07-05 19:17:22 +02:00
Guillaume Lours 9a20ca6236
Merge pull request #259 from milas/dev-envs-apache-php
apache-php: add dev envs config
2022-07-05 19:04:39 +02:00
Milas Bowman 035e3c5b43 fastapi: add dev envs support
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-05 11:59:35 -04:00
Guillaume Lours e5d18603c4
Merge pull request #250 from glours/react-java-mysql-dev-env
add configuration to use react-java-mysql sample with Docker Dev Environments feature
2022-07-05 17:45:12 +02:00
Milas Bowman 8f09141e6e apache-php: add dev envs config
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-05 11:41:11 -04:00
Guillaume Lours 1a1cfca6c4
add configuration to use react-java-mysql sample with Docker Dev Environments feature
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-05 14:48:18 +02:00
Guillaume Lours 8784f95a69
Merge pull request #255 from milas/dev-envs-angular
angular: add dev envs configuration
2022-07-05 14:40:19 +02:00
Milas Bowman f00ca36c26 angular: add dev envs configuration
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-01 13:50:58 -04:00
Guillaume Lours ecef5caea7
update java samples to use eclipse temurin instead of opendjdk (#245)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-05-16 22:19:01 +02:00
Tom Moulard ebd478bc39
fix: update traefik minor version to v2.6 (#243)
Signed-off-by: Tom Moulard <tom.moulard@traefik.io>
2022-05-16 21:23:58 +02:00
Fedor Skvortsov 0acff2e4ad
fix: name of `target/dependency` directory (#237)
Signed-off-by: Fedor Skvortsov <skvortsovfk@gmail.com>
2022-05-16 21:23:00 +02:00
Guillaume Lours 298ebd2b45
Fix security issues (#244)
* fix security issues in react-rust-postgres sample
* fix security issues in react-java-mysql sample
* fix security issues in react-express-mysql sample
* fix security issues in react-express-mongodb sample
* fix security issues in react-nginx sample
* fix security issues in angular sample
* fix security issues in django sample
* fix security issues in vuejs sample

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-05-16 21:20:20 +02:00
Nicolas De loof 667bd9facb
Adopt Compose v2 (#240)
* Adopt Compose v2

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2022-05-10 11:59:25 +02:00
Esteban Solano Granados bc95525543
Upgrade nginx-aspnet-mysql to net6.0 🚀 (#198)
* Upgrade to net6.0 [csproj]
* Upgrade MySqlConnector NuGet package
* Port Program to net6.0
* Upgrade Dockerfile base image
2022-03-21 18:43:05 +01:00
Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc 04f8c9ca12
Nginx/Node/Redis and Flask/Redis Compose example (#222)
* Added Node, Nginx and Redis Project
* Added Flask/Redis
2022-03-17 17:33:36 +01:00
Guillaume Lours 05095bbe0d
Merge pull request #214 from SAB-6/master
fixed ImportError
2022-03-13 16:29:28 +01:00
Shereef Bankole d12678161e fixed ImportError
Signed-off-by: Shereef Bankole <shereef.bankole@yahoo.com>
2022-03-13 15:20:59 +00:00
Guillaume Lours 4b279770bf
Merge pull request #225 from glours/security-fixes-rust-sample
fix security issues on react-rust-postgres sample
2022-03-12 19:46:35 +01:00
Guillaume Lours 6f66b4a526
fix security issues on react-rust-postgres sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-12 19:45:38 +01:00
Guillaume Lours 111f54d96f
Merge pull request #224 from glours/security-fixes
Security fixes
2022-03-12 19:18:29 +01:00
Guillaume Lours 62b20cc547
fix security issues on vuejs sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-12 19:16:12 +01:00