Hostname for appdaemon rest endpoint

Hello,
i am developing a cool appdaemon class for special notifications :slight_smile:
Now i want to add something like this to my configudation.yaml:

notify:
  - name: pixelit
    platform: rest
    resource: http://127.0.0.1:5050/api/appdaemon/pixelit_add

which doesnt work. I need a symbolic hostname for the 127.0.0.1 to access the appdaemon container from my hass.io host.

Any hints on this?

Greetz