1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-25 10:18:07 +02:00

Add "Open in Docker Dev Environments" links (#280)

* readme: add devenvs links in READMEs

Signed-off-by: Nick Sieger <nick@nicksieger.com>
Signed-off-by: Andrew Maguire <andrewm4894@gmail.com>
This commit is contained in:
Nick Sieger 2022-09-01 11:39:33 -05:00 committed by Andrew Maguire
parent 62e57e17ab
commit 898f749b6b
25 changed files with 213 additions and 267 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-postgres)
### Go server with an Nginx proxy and a Postgres database
Project structure:
@ -80,14 +87,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.
![Screenshot of creating a Dev Environment in Docker Desktop](../dev-envs.png)
To develop directly on the services inside containers, use the HTTPS Git url of the sample:
```
https://github.com/docker/awesome-compose/tree/master/nginx-golang-postgres
```