From bf06def67f38e792b0b0e7ad081d28013fab48dc Mon Sep 17 00:00:00 2001 From: Fernando Arteaga Date: Sat, 10 Feb 2024 11:46:41 -0500 Subject: [PATCH] add docker registry images into docker-compose.yaml --- my-awesome-app/docker-compose.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/my-awesome-app/docker-compose.yaml b/my-awesome-app/docker-compose.yaml index 30cf99e..326cf22 100644 --- a/my-awesome-app/docker-compose.yaml +++ b/my-awesome-app/docker-compose.yaml @@ -1,10 +1,20 @@ version: "3" services: - my-awesome-app: + my-awesome-app-local: image: my-awesome-app:latest build: context: . dockerfile: Dockerfile ports: - "8080:80" + + my-awesome-app-from-docker-hub: + image: fernandoarteaga/my-awesome-app:latest + ports: + - "8081:80" + + my-awesome-app-from-github-container-registry: + image: ghcr.io/learn-devops/my-awesome-app:latest + ports: + - "8082:80"