Yunohost with docker-compose behind reverse proxy

I have home lab with static external IP. In this lab ports 80 and 443 taked by jwilder/nginx-proxy docker container with letsencrypt companion. all services in my lab work in docker-compose’s with subdomains (via jwilder proxy)
I make docker-compose file for yunohost

version: '3.7'

services:
  yunohost:
    image: domainelibre/yunohost
    container_name: yunohost
    hostname: yunohost.DOMAIN
    privileged: true
    restart: always
    ports:
      - "2022:22"
      - "25:25"
      # - "53:53/udp"
      - "8099:80"
      - "137:137"
      - "138:138"
      # - "139:139"
      - "3443:443"
      # - "445:445"
      - "465:465"
      - "587:587"
      - "993:993"
      - "5222:5222"
      - "5269:5269"
      - "49200:49200"
    environment:
      - LETSENCRYPT_HOST=yh.domain.com
      - LETSENCRYPT_EMAIL=tolyan@domain.com
      - PUID=1000
      - PGID=1000
      - VIRTUAL_HOST=yh.domain.com
      - VIRTUAL_PORT=443
      - VIRTUAL_PROTO=HTTPS
    volumes:
      - ./backup:/home/yunohost.backup
      - /media:/media
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      - /var/run/docker.sock:/var/run/docker.sock
    command: /bin/systemd
    networks:
      - frontend

networks:
  frontend:
    external:
      name: proxy_proxy

yunohost instance is working and available in yh.domain.com
but I see only ~15 apps availabe for installation. And can’t install any of them
also yunohost working very slowly. home lab hardware is well: celeron j4125, 8gb ram
how I can resolve this strange yunohost behavior?

UPD:
When I try to install some app I see

Requirements are not met for elasticsearch7, the package yunohost (4.0.8) must be >= 11.0.0

I used yunohost installation page for install. Why I have versiion 4 instead 11? How I can run v11 in docker-compose?

UPD2:

I can’t update yunohost from admin web panel:

Could not to update the cache of APT (Debian’s package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb Index of /debian buster main
sources.list:deb Index of /debian-security buster/updates main
sources.list:deb Index of /debian buster-updates main
sources.list.d/yunohost.list:deb Index of /debian/ buster stable

The YunoHost docker image you’re using is 4 years out of date and no longer maintained. As far as I know, YH docker has been discontinued. To install YH, refer to one of the official methods described in the documentation :

1 Like