Skip to content

Commit

Permalink
simplify proxy test
Browse files Browse the repository at this point in the history
EmmaLRussell committed Aug 22, 2024
1 parent 48bad38 commit c66f990
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions proxy/docker/test
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c66f990

Please sign in to comment.