From a1aed09a587dbd2a0974ac7c0975719382e30f8c Mon Sep 17 00:00:00 2001 From: Muayyad alsadi Date: Fri, 18 Mar 2022 23:14:26 +0300 Subject: [PATCH] GCR hello app --- examples/hello-app/README.md | 10 ++++++++++ examples/hello-app/docker-compose.yaml | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 examples/hello-app/README.md create mode 100644 examples/hello-app/docker-compose.yaml diff --git a/examples/hello-app/README.md b/examples/hello-app/README.md new file mode 100644 index 0000000..a710383 --- /dev/null +++ b/examples/hello-app/README.md @@ -0,0 +1,10 @@ +# GCR Hello App + +A small ~2MB image, type + +``` +podman-compose up +``` + +then open your browser on [http://localhost:8080/](http://localhost:8080/) + diff --git a/examples/hello-app/docker-compose.yaml b/examples/hello-app/docker-compose.yaml new file mode 100644 index 0000000..2d55fc5 --- /dev/null +++ b/examples/hello-app/docker-compose.yaml @@ -0,0 +1,8 @@ +--- +version: '3' +services: + web: + image: gcr.io/google-samples/hello-app:1.0 + ports: + - "${HOST_PORT:-8080}:8080" +