Commit graph

257 commits

Author SHA1 Message Date
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
Guillaume Lours
ea7db187a3
fix security issues on react-nginx sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-12 19:05:18 +01:00
Guillaume Lours
eaa9360152
fix security issues on django sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-12 18:59:29 +01:00
Guillaume Lours
6bcc90c824 fix security issues on angular sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-12 18:56:53 +01:00
Guillaume Lours
f16cb84e61 fix security issues on react-java-mysql sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-12 18:56:44 +01:00
Guillaume Lours
56c23d9f89 fix security issues on react-express-mongodb sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-12 18:56:34 +01:00
Guillaume Lours
a3e3195313 fix security issues on react-express-mysql sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-12 18:56:23 +01:00
clach04
6531426a96
fix typo (#197)
Signed-off-by: clach04 <clach04@gmail.com>
2022-01-11 22:49:21 +01:00
Guillaume Lours
9a4a9c5488
update versions of eleastic, logstash and kibana with fix of log Log4J v2 CVE-2021-44228 (#195)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2021-12-16 12:20:21 +01:00
Guillaume Lours
60073f735c
mitigate Log4J v2 CVE-2021-44228 by using LOG4J_FORMAT_MSG_NO_LOOKUPS env variable (#193)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2021-12-12 00:10:18 +01:00
ti777777
1ffb3f1c9b
fix a typo (#191)
Signed-off-by: ti777777 <ti12272198686@yahoo.com.tw>
2021-12-09 16:15:57 +01:00
Anca Iordache
9e58d407d5
Use docker hub images and readmes updates (#190)
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-12-09 13:09:48 +01:00