Any luck using cockroachdb with nextcloud (in docker)

I’m trying something along the lines of this but am having trouble with the initial ‘install’ step where you create an admin user. I end up with an internal error. I can see in the cockroachdb UI that the nextcloud db is being created and it even appears to get populated a little at some point. But I keep getting the " Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log."

version: "3.5"

volumes:
  nextcloud:
  db:

services:
  db:
    container_name: db
    hostname: 'db'
    image: cockroachdb/cockroach:v22.1.5
    restart: always
    volumes:
      - db:/cockroach/cockroach-data
    environment:
      #- COCKROACH_DATABASE=nextcloud 
      - COCKROACH_USER=nextcloud
      - COCKROACH_PASSWORD=password
    networks:
      - default
    ports:
      - '26257:26257'
      - '8081:8080'
    command: start-single-node  --accept-sql-without-tls
    #command: start-single-node --insecure

  app:
    image: nextcloud
    restart: always
    ports:
      - 8080:80
    links:
      - db
    volumes:
      - nextcloud:/var/www/html
    networks:
      - default
    depends_on:
      - db
    environment:
      - POSTGRES_HOST=db:26257
      - POSTGRES_DB=nextcloud
      - POSTGRES_USER=nextcloud
      - POSTGRES_PASSWORD=password


networks:
  default:
    name: roachnet
    external: true