From c66f9900f100eafc696e1c0c5dabd81a17c04d24 Mon Sep 17 00:00:00 2001 From: Emma Date: Thu, 22 Aug 2024 14:25:01 +0100 Subject: [PATCH] simplify proxy test --- proxy/docker/test | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/proxy/docker/test b/proxy/docker/test index 03fcefa..fb32b60 100755 --- a/proxy/docker/test +++ b/proxy/docker/test @@ -4,24 +4,9 @@ set -ex HERE=$(dirname $0) . $HERE/common -# This script does a basic test of the proxy image by running it up alongside the web app container and checking -# it can see the home page - -docker network create daedalus - -# TODO: update branch when merged -WEB_APP_TAG=$REGISTRY/$ORG/daedalus-web-app:jidea-59-dockerise-web-app - -docker run -d \ - --name daedalus-web-app \ - --network=daedalus \ - -e DATABASE_URL=postgresql://daedalus-web-app-user:changeme@not-a-db:5432/daedalus-web-app \ - $WEB_APP_TAG - +# This script does a very basic test of the proxy image by running it up and checking nginx is running docker run -d \ --name daedalus-proxy \ - --network=daedalus \ - -p 443:443 \ $TAG_SHA \ localhost daedalus-proxy http://daedalus-web-app:3000