Caddy + Nextcloud (fpm) + Collabora - individual containers and docker-compose

Tried to adapt zilexa instructions but I only got a Caddy “Congratulations!” page. See no errors on both Caddy containers (main Caddy and Caddy from below docker-compose.yml).

docker-compose.yml

version: "2.0"
services:
  caddy:
    container_name: caddy-proxy
    image: caddy:2.5.0-alpine
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./caddy/caddy_data:/data
      - ./caddy/config:/config
    #  - ./nextcloud/var/www/html:/nextcloud/var/www/html
    #  - ./nextcloud/var/data:/nextcloud/var/nextdata
    volumes_from:
      - nextcloud
    #ports:
    #  - 8080:80
    #  - 8443:443
  nextcloud:
    image: nextcloud:23-fpm
    container_name: nextcloud
    restart: unless-stopped
    mem_limit: 2048m
    mem_reservation: 512m
    depends_on:
      - nextcloud-db
      - nextcloud-cache
    environment:
      NEXTCLOUD_DATA_DIR: /var/nextdata
      NEXTCLOUD_TRUSTED_DOMAINS: nextcloud.cites.aop
      NEXTCLOUD_ADMIN_USER: admin
      NEXTCLOUD_ADMIN_PASSWORD: P4ssw0rd
      POSTGRES_HOST: nextcloud-db
      POSTGRES_DB: nextcloud
      POSTGRES_USER: nextcloud
      POSTGRES_PASSWORD: P4ssw0rd
      REDIS_HOST: nextcloud-cache
      REDIS_HOST_PASSWORD: P4ssw0rd
      SMTP_HOST: "mail.cites.aop"
      SMTP_SECURE: "tls"
      SMTP_PORT: 587
      SMTP_NAME: "mailer@cites.aop"
      SMTP_PASSWORD: "P4ssw0rd"
      MAIL_FROM_ADDRESS: "Nextcloud <no-reply@cites.aop>"
      #SMTP_FROM_ADDRESS: $EMAIL
    volumes:
      - ./nextcloud/var/nextdata:/var/nextdata
      - ./nextcloud/var/www/html:/var/www/html
      - ./nextcloud/var/www/html/config:/var/www/html/config
      # Custom settings for php fpm to make nextcloud work. The default settings resulted in the error:
      # WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
      #- ./nextcloud/etc/www-custom.ini:/usr/local/etc/php-fpm.d/zz-custom.conf
    labels:
      caddy: nextcloud.cites.aop
      #caddy.tls: $EMAIL
      caddy.file_server: ""
      caddy.root: "* /nextcloud/var/www/html"
      caddy.php_fastcgi: "{{upstreams 9000}}"
      caddy.php_fastcgi.root: "/var/www/html"
      caddy.php_fastcgi.env: "front_controller_active true"
      caddy.encode: gzip
      caddy.redir_0: "/.well-known/carddav /remote.php/dav 301"
      caddy.redir_1: "/.well-known/caldav /remote.php/dav 301"
      caddy.header.Strict-Transport-Security: '"max-age=15768000;includeSubDomains;preload"' # Required for Nextcloud
      #caddy.header.X-XSS-Protection: '"1; mode=block;"'             # Required for FileRun+OnlyOffice
      #caddy.header.X-Content-Type-Options: "nosniff"                # Required for FileRun+OnlyOffice
      #caddy.header.X-Frame-Options: "SAMEORIGIN"                    # Required for FileRun+OnlyOffice
  nextcloud-db:
    container_name: nextcloud-db
    image: postgres:12-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: nextcloud
      POSTGRES_PASSWORD: P4ssw0rd
    volumes:
      - ./nextcloud/db:/var/lib/postgresql/data
      - /etc/localtime:/etc/localtime:ro
  nextcloud-cache:
    container_name: nextcloud-cache
    image: redis:alpine
    restart: unless-stopped
    mem_limit: 2048m
    mem_reservation: 512m
    command: redis-server --requirepass P4ssw0rd
networks:
  default:
    name: caddy_net
    external: true