Can't change gvmd to listen port instead of socket

Hello,

I have started Greenbone Community Edition using docker-compose. I would like to access the API port but when I’m trying to configure gvmd to listen port instead of socket I’m getting the following error

md   main:MESSAGE:2023-03-15 16h09.30 utc:21:    Greenbone Vulnerability Manager version 22.4.2 (DB revision 250)
md manage:   INFO:2023-03-15 16h09.30 utc:21:    Getting users.
md   main:MESSAGE:2023-03-15 16h09.32 utc:24:    Greenbone Vulnerability Manager version 22.4.2 (DB revision 250)
md manage:   INFO:2023-03-15 16h09.32 utc:24:    Modifying setting.
md   main:MESSAGE:2023-03-15 16h09.34 utc:25:    Greenbone Vulnerability Manager version 22.4.2 (DB revision 250)
libgvm util:WARNING:2023-03-15 16h09.36 utc:26: server_new_internal: failed to set credentials key file: Error while reading file.
libgvm util:WARNING:2023-03-15 16h09.36 utc:26: server_new_internal:   cert file: /var/lib/gvm/CA/servercert.pem
libgvm util:WARNING:2023-03-15 16h09.36 utc:26: server_new_internal:   key file : /var/lib/gvm/private/CA/serverkey.pem
md   main:CRITICAL:2023-03-15 16h09.36 utc:26: gvmd: client server initialisation failed

Certificates /var/lib/gvm/private/CA/serverkey.pem and /var/lib/gvm/CA/servercert.pem are in place

To configure port I have added these settings to docker-compose.yml gvmd

  gvmd:
    image: greenbone/gvmd:stable
    restart: on-failure
    ports:
      - 9390:9390
    environment:
      GVMD_ARGS: '"--port=9390 --listen=0.0.0.0"'

Do you have a solution yet?
Im facing the same problem

Are you able to setup GSA use SSL/TLS with the Greenbone Community Containers? By default, this process uses the same certificates in the same location as GVMD does to expose GMP via SSL/TLS. Setting up GSA for SSL/TLS first may provide more detailed error logs to track down the cause of the issue. For example, if the initialization failure is caused by the permissions of the cert files.

You can find other discussions on the forum about setting up GSA to use SSL/TLS with the Greenbone Community Containers.