Skip to content
New issue

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

Could not get monitor to start. #1

Open
mike-henry opened this issue Aug 22, 2020 · 0 comments
Open

Could not get monitor to start. #1

mike-henry opened this issue Aug 22, 2020 · 0 comments

Comments

@mike-henry
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant