Skip to content

I would like to ask about the correct format for the 'apprise.yml' configuration file. #1462

@XGCoder

Description

@XGCoder

Question

Hello, I'm having some issues while using this project and would like to ask for some help.

I'm currently deploying this service on a VPS using docker-compose, and I want to configure multiple channels using a YAML file. I'm worried that I might forget the URL method after a while.

My current problem is that after starting the service, the docker logs show "No valid notification service configuration." I don't know how to fix this.

I've referred to the config_yaml and Notify_dingtalk documentation, but after making the changes, I still get the same error.

Also, my requirements are:

  1. The ability to configure multiple DingTalk channels and distribute requests using tags.
  2. It needs to work with TradingView's Webhook. I only need to set the webhook URL; I don't require specific body or JSON format. Whatever is edited in the TV alert will be sent and forwarded to DingTalk in the same format and text.

My docker-compose.yml file is as follows:

version: '3.8'

services:
  apprise:
    image: caronc/apprise:latest
    container_name: apprise
    restart: always
    ports:
      - "9001:8000"
    volumes:
      - ./config:/config 
      - ./data:/data
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Shanghai
    networks:
      - apprise-net

networks:
  apprise-net:
    driver: bridge

My apprise.yml file is as follows:

urls:
  - url: "dingtalk://Secret1@Token1"
    tag: "rn2-dingtalk"
    format: text
  - url: "dingtalk://Secret2@Token2"
    tag: "TVAlert"
    format: text

The Docker logs are as follows:

[2025-12-03 16:21:22 +0800] [39] [INFO] Booting worker with pid: 39
[2025-12-03 16:21:22 +0800] [40] [INFO] Booting worker with pid: 40
[2025-12-03 16:21:22 +0800] [41] [INFO] Booting worker with pid: 41
[2025-12-03 16:21:22 +0800] [42] [INFO] Booting worker with pid: 42
2025-12-03 02:21:31,630 [ERROR] apprise: An invalid notification (type=<class 'NoneType'>) was specified.
2025-12-03 02:21:31,630 [WARNING] django: NOTIFY - - No valid URLs provided
2025/12/03 16:21:31 [warn] 33#33: *1 upstream sent more data than specified in "Content-Length" header while reading upstream, client: 172.19.0.1, server: , request: "POST /notify?tag=rn2-dingtalk HTTP/1.1", upstream: "http://unix:/tmp/apprise/gunicorn.sock:/notify?tag=rn2-dingtalk", host: "127.0.0.1:9001"
172.19.0.1 - - [03/Dec/2025:16:21:31 +0800] "POST /notify?tag=rn2-dingtalk HTTP/1.1" 204 0 "-" "-"
2025/12/03 16:21:31 [info] 33#33: *1 client 172.19.0.1 closed keepalive connection
172.19.0.1 - - [03/Dec/2025:16:22:08 +0800] "GET /cfg/56d35fcb0ea4f5e16501982a17f6df82993c4140011ebb78fc9eccb1ca4d5b12 HTTP/1.1" 200 10930 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions