readme: move devenv links to top of READMEs

Signed-off-by: Nick Sieger <nick@nicksieger.com>
This commit is contained in:
Nick Sieger
2022-08-30 11:54:20 -05:00
parent ee90e1c8a9
commit da1d88c3dd
24 changed files with 171 additions and 305 deletions

View File

@@ -1,4 +1,11 @@
## 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 <img src="../open_in_new.svg" alt="Open in Docker Dev Environments" align="top"/>](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
Project structure:
@@ -90,16 +97,3 @@ Stop and remove the containers
```shell
$ docker compose down
```
## Use with Docker Development Environments
You can use this sample with the Dev Environments feature of Docker Desktop version 4.10 or later.
* [Open in Docker Dev Environments <img src="../open_in_new.svg" alt="Open in Docker Dev Environments" align="top"/>](https://open.docker.com/dashboard/dev-envs?url=https://github.com/docker/awesome-compose/tree/master/nginx-golang-mysql) (works in Docker Desktop 4.12 and later versions)
* In the "Create a Dev Environment" wizard, choose "Existing Git Repo", copy the URL below and paste into the Git Repository field.
```
https://github.com/docker/awesome-compose/tree/master/nginx-golang-mysql
```
![Screenshot of creating a Dev Environment in Docker Desktop](../dev-envs.png)