I am trying to build an SMS notification service to use with grafana to send sms alerts.
It is based of this article SMS Alerts in Grafana using a Custom Webhook and AWS SNS | Medium.
The configuration I used : https://github.com/ausyp/Balena_sms
I was able to spin up the container and get it working.
When trying to setup notification on grafana the test is failing.
I have tried using localhost but no use.
As way to test the python script used (not.py) I tried running the script in the same container as grafana on port 5000 and the notification sms is succesfull. So the script must be okay.
this is my docker-compse
version: '2' volumes: sense-data: services: influxdb: restart: always build: ./influxdb volumes: - 'sense-data:/data' grafana: restart: always build: ./grafana ports: - "80" volumes: - 'sense-data:/data' environment: - 'HOME_DASHBOARD_UID=balenaSense' - 'GF_PATHS_DATA=/data/grafana' - 'GF_SERVER_HTTP_PORT=80' - 'GF_SESSION_PROVIDER=memory' - 'GF_AUTH_ANONYMOUS_ENABLED=true' sensor: build: ./sensor privileged: true restart: always volumes: - 'sense-data:/data' sms: build: ./sms restart: always
Does anyone have any suggession or ideas what I might be doing wrong ?
Any help appriciated.