What do the errors that appear in my docker logs mean?

How can I solve the error that is appearing in the console (other errors that I had disappeared when improving my docker compose thanks to the help of this forum). but now I get a new error that I attach below
I use docker swam
thanks

my docker compose

version: "3"
services:
    bdd:
        restart: always
        image: postgres:12
        ports:
            - 5432:5432/tcp
        environment:
            POSTGRES_USER: user
            POSTGRES_PASSWORD: 12345
            POSTGRES_DB: miBDD
        volumes:
            - pgdata:/var/lib/postgresql/data
    pgadmin:
        restart: always
        image: dpage/pgadmin4
        ports:
            - 9095:80/tcp
        environment:
            PGADMIN_DEFAULT_EMAIL: user
            PGADMIN_DEFAULT_PASSWORD: 12345
            PROXY_X_FOR_COUNT: 3
            PROXY_X_PROTO_COUNT: 3
            PROXY_X_HOST_COUNT: 3
            PROXY_X_PORT_COUNT: 3
        volumes:
            - pgadmin:/var/lib/pgadmin
volumes:
    pgdata:
    pgadmin:

the logs with the error

2020-09-16 00:11:10.846 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2020-09-16 00:11:10.846 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2020-09-16 00:11:10.851 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2020-09-16 00:11:10.891 UTC [24] LOG:  database system was shut down at 2020-09-16 00:11:04 UTC
2020-09-16 00:11:10.909 UTC [1] LOG:  database system is ready to accept connections
2020-09-16 02:58:18.662 UTC [356] LOG:  could not receive data from client: Connection reset by peer
2020-09-16 06:39:19.376 UTC [794] FATAL:  unsupported frontend protocol 65363.19778: server supports 2.0 to 3.0
2020-09-16 06:39:48.516 UTC [797] LOG:  invalid length of startup packet
2020-09-16 06:48:18.757 UTC [815] FATAL:  unsupported frontend protocol 0.0: server supports 2.0 to 3.0
2020-09-16 06:48:19.065 UTC [816] FATAL:  unsupported frontend protocol 255.255: server supports 2.0 to 3.0
2020-09-16 06:48:19.377 UTC [817] FATAL:  no PostgreSQL user name specified in startup packet
2020-09-16 07:04:05.988 UTC [847] LOG:  using stale statistics instead of current ones because stats collector is not responding
2020-09-16 08:44:07.651 UTC [28] LOG:  using stale statistics instead of current ones because stats collector is not responding
2020-09-16 08:44:20.443 UTC [1045] LOG:  using stale statistics instead of current ones because stats collector is not responding
2020-09-16 08:44:38.443 UTC [28] LOG:  using stale statistics instead of current ones because stats collector is not responding
2020-09-16 10:45:31.427 UTC [1284] FATAL:  unsupported frontend protocol 0.0: server supports 2.0 to 3.0
2020-09-16 10:45:31.718 UTC [1285] FATAL:  unsupported frontend protocol 255.255: server supports 2.0 to 3.0
2020-09-16 10:45:32.070 UTC [1286] FATAL:  no PostgreSQL user name specified in startup packet
2020-09-16 18:03:14.302 UTC [2156] LOG:  invalid length of startup packet

Source: Docker Questions