mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-08 07:26:09 +01:00
Moved statuspage from proxy to gatekeeper and refactored correctly
This commit is contained in:
@@ -14,6 +14,7 @@ services:
|
||||
- "<%= gatekeeper_datapath %>/keys.properties:/etc/nginx/conf.d/keys.properties"
|
||||
- "<%= gatekeeper_datapath %>/api.properties:/etc/nginx/conf.d/api.properties"
|
||||
- "<%= gatekeeper_datapath %>/htpasswd:/etc/nginx/conf.d/status/htpasswd"
|
||||
- "<%= gatekeeper_datapath %>/installation.json:/etc/nginx/conf.d/status/installation.json"
|
||||
command: $USER
|
||||
|
||||
# deploy:
|
||||
|
||||
@@ -15,7 +15,7 @@ docker-compose -f $current_path/docker-compose.yaml up -d --remove-orphans
|
||||
docker run --rm -it -v $current_path/testfeatures.sh:/testfeatures.sh \
|
||||
-v $current_path/gatekeeper/keys.properties:/keys.properties \
|
||||
-v $current_path/gatekeeper/cert.pem:/cert.pem \
|
||||
-v <%= proxy_datapath %>:/proxy \
|
||||
-v <%= gatekeeper_datapath %>:/gatekeeper \
|
||||
--network cyphernodenet alpine:3.8 /testfeatures.sh
|
||||
|
||||
echo "Point your favorite browser to one of the following URLs to access Cyphernode's status page:"
|
||||
|
||||
@@ -311,6 +311,6 @@ result="${result}$(feature_status ${returncode} 'Lightning error!')}"
|
||||
|
||||
result="{${result}]}"
|
||||
|
||||
echo "${result}" > /proxy/installation.json
|
||||
echo "${result}" > /gatekeeper/installation.json
|
||||
|
||||
echo -e "\r\n\e[1;32mTests finished.\e[0m" > /dev/console
|
||||
|
||||
Reference in New Issue
Block a user