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

Docker container will not start in Unraid #118

Closed
chogan72 opened this issue May 5, 2024 · 2 comments
Closed

Docker container will not start in Unraid #118

chogan72 opened this issue May 5, 2024 · 2 comments

Comments

@chogan72
Copy link

chogan72 commented May 5, 2024

I'm running into issues getting the mailrise docker container to run in Unraid. I am running Unraid 6.12.10 with Docker
24.0.9. When I try to start the container this is the error that I receive.

CRITICAL:mailrise.skeleton:No Apprise targets are configured

I know that Unraid is a bit different with mapping the config file, so I'm guessing it's something related to that. After looking at the solution to this issue #50, below is the current config that I have set up.

mailrise.conf

configs:
  discord:
    urls:
      - discord://webhook

config.yml

version: '1.0'

services:
  mailrise:
    container_name: mailrise
    image: yoryan/mailrise:latest
    ports:
      - 8025:8025
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /mnt/user/appdata/mailrise/mailrise.conf:/etc/mailrise.conf

docker run

docker run
  -d
  --name='mailrise'
  --net='bridge'
  -e TZ="America/Chicago"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Name"
  -e HOST_CONTAINERNAME="mailrise"
  -l net.unraid.docker.managed=dockerman
  -p '8025:8025/tcp'
  -v '/mnt/user/appdata/mailrise/':'/etc/mailrise':'ro' 'yoryan/mailrise:latest' /etc/mailrise/config.yml

I'm sure there is something simple that I am overlooking. Any ideas what I am doing wrong?

@simonmcnair
Copy link

you mailrise.conf looks wrong. discord://webhook needs to be replaced by your config. It needs your specific discord://webhook_id/webhook_token

@chogan72
Copy link
Author

chogan72 commented Jun 25, 2024

My bad I should have added more detail there. That is how I have it formatted in the actual config file. I just put webhook there when I redacted the actual values.

I don't remember exactly where I left this off, but I did try other services besides Discord and was getting the same error. I ended up deciding it was something I had configured strange on my Unraid server preventing the container from starting. I ended up writing a python script instead to route the messages.

@chogan72 chogan72 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
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

2 participants