Skip to content

Commit

Permalink
add docker registry images into docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoArteaga committed Feb 10, 2024
1 parent a0d49da commit bf06def
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion my-awesome-app/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit bf06def

Please sign in to comment.