Update test scripts to use env variable ALLOW_HTTP
[sim/a1-interface.git] / near-rt-ric-simulator / test / 1.1.x-alpha.2 / build_and_start.sh
index 4cabff3..8b8da57 100755 (executable)
@@ -27,6 +27,6 @@ docker build -t a1test .
 
 echo "Starting $1 mode"
 #Run the container in interactive mode, unsecure port 8085, secure port 8185.
-docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=1.1.x-alpha.2 -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test
+docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=1.1.x-alpha.2 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test