Nextcloud and MariaDB error

Hello I followed the instructions in your MariaDB and Nexcloud video but I keep getting this error when I’m trying to set up Nextcloud for the first time.

Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] Operation timed out

What am I doing wrong? The Hardware is not a ZIMAboard, its an AMD APU machine.

Are you installing on zimaOS? I have used this script via Dockge. I just installed today.

version: '3'

services:
  nextcloud_db:
    image: mariadb:10.5
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    restart: always
    volumes:
      - ./nextcloud-db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=123456
      - MYSQL_PASSWORD=adcdef
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud

  nextcloud:
    image: nextcloud:latest
    ports:
      - 9090:80
    links:
      - nextcloud_db
    volumes:
      - /DATA/AppData/Nextcloud:/var/www/html
    environment:
      - NEXTCLOUD_DATA_DIR=/var/www/html/data
      - MYSQL_PASSWORD=abcdef
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=nextcloud_db
    restart: always

Of course, change the passwords.