GithubHelp home page GithubHelp logo

Comments (7)

GeekyTim avatar GeekyTim commented on May 30, 2024 3

I've done that, and now it remains running!

I absolutely understand you cannot help without logs. I'm noyt entirely sure where the logs for this is?

from docker-qnap-pushover.

GeekyTim avatar GeekyTim commented on May 30, 2024 2

Thank you for your help. Really appreciated. I'm now getting notifications.

from docker-qnap-pushover.

GeekyTim avatar GeekyTim commented on May 30, 2024 1

The docker-compose.yaml contains:

version: '3'
volumes:
qnap-pushover:
services:
qnap-pushover:
image: thecatlady/qnap-pushover
container_name: qnap-pushover
environment:
- PUSHOVER_TOKEN=mine
- PUSHOVER_RECIPIENT=mine
volumes:
- qnap-pushover:/data
- /etc/logs/event.log:/event.log:ro
restart: always

Obviously with 'mine' replaced.

from docker-qnap-pushover.

TheCatLady avatar TheCatLady commented on May 30, 2024

Hi @GeekyTim, can you provide more details on how you created the container? It sounds like something is not configured properly.

Edit: Please also provide logs.

from docker-qnap-pushover.

GeekyTim avatar GeekyTim commented on May 30, 2024

I created the container using the yaml (Docker compose) from the readme.

Unfortunately the Container log just states the container started, but not that it stopped (which it did)

from docker-qnap-pushover.

TheCatLady avatar TheCatLady commented on May 30, 2024

@GeekyTim Can you set the LOG_LEVEL environment variable to DEBUG and provide logs? Try running the following command (you can switch back to using Compose once you get the container to run):

docker run -d \
  --name=qnap-pushover \
  -e LOG_LEVEL=DEBUG \
  -e PUSHOVER_TOKEN=<Pushover application API token> \
  -e PUSHOVER_RECIPIENT=<Pushover user and/or group key(s)> \
  -v qnap-pushover:/data \
  -v /etc/logs/event.log:/event.log:ro \
  --restart always \
  thecatlady/qnap-pushover

Unfortunately, there's not much I can do to help you unless I can see what is going on. I personally have this working on a TS-653D without issue.

from docker-qnap-pushover.

TheCatLady avatar TheCatLady commented on May 30, 2024

@GeekyTim Since you're using a QNAP NAS, one way to access container logs is through Container Station.

Also, since the docker run command worked, perhaps you can check the formatting of your Compose YAML? It's very particular/strict about whitespace/indentation.

Edit: Closing this issue since it's been resolved, but feel free to provide additional info or post more comments. 😺

from docker-qnap-pushover.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.