We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I had to tweak startup.sh and docker-compose.yml to get it to work.
Here is the diff (Just change bash to ash and place quotes around the volume). feel free to ignore if it works for you but this is what I had to do.
Thanks
Mike H
diff --git a/docker-compose.yml b/docker-compose.yml index c8d34c3..9071b13 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -60,4 +60,4 @@ services: - dashboard container_name: ethnet volumes:
- ./monitoring/api/app.json:/home/ethnetintel/eth-net-intelligence-api/app.json
- "./monitoring/api/app.json:/home/ethnetintel/eth-net-intelligence-api/app.json"
diff --git a/monitoring/api/start.sh b/monitoring/api/start.sh index 83915fa..1e3f942 100644 --- a/monitoring/api/start.sh +++ b/monitoring/api/start.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/ash set -e cd /root/eth-net-intelligence-api perl -pi -e "s/XXX/$(hostname)/g" app.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I had to tweak startup.sh and docker-compose.yml to get it to work.
Here is the diff (Just change bash to ash and place quotes around the volume).
feel free to ignore if it works for you but this is what I had to do.
Thanks
Mike H
diff --git a/docker-compose.yml b/docker-compose.yml
index c8d34c3..9071b13 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -60,4 +60,4 @@ services:
- dashboard
container_name: ethnet
volumes:
diff --git a/monitoring/api/start.sh b/monitoring/api/start.sh
index 83915fa..1e3f942 100644
--- a/monitoring/api/start.sh
+++ b/monitoring/api/start.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/ash
set -e
cd /root/eth-net-intelligence-api
perl -pi -e "s/XXX/$(hostname)/g" app.json
The text was updated successfully, but these errors were encountered: