Container via yaml and webui button?

When adding container via yaml, there is no webui button. Can this be achieved somehow? Or maybe add possibility to add link ?

Put this in your YAML file. Change port off course

x-portals:
  - host: 0.0.0.0
    name: "Web UI"
    path: /
    port: 5353
    scheme: http

does not seem to do any difference ?

Weird. I used this for example to create the mdblistarr app.

services:
  mdblistarr:
    container_name: mdblistarr
    image: linaspurinis/mdblistarr:v2-beta@sha256:0e66f12d97912b6e80d695979893910f1736d2535ed360728af0ab5b972c2c0f
    environment:
      - PUID=568
      - PGID=568
      - UMASK=002
      - TZ=Europe/Amsterdam
      - PORT=5353
    restart: unless-stopped
    volumes:
      - /mnt/myVol/config/mdblistarr:/usr/src/db
    ports:
      - "5353:5353"
x-portals:
  - host: 0.0.0.0
    name: "Web UI"
    path: /
    port: 5353
    scheme: http

When app started i have the Web UI button.


Getting the right icon is by editing the metadata.yaml in
/mnt/.ix-apps/app_configs/mdblistarr
and add the icon file.

  host_mounts: []
  icon: https://mdblist.com/static/mdblist_logo.png
  maintainers: []

1 Like

Not really an answer to your question, but I stopped using the WebUI altogether and just manage things through Portainer. You get a lot more control that way

1 Like

Ditto, but using Dockge. Though I do use the Tailscale app.