Mender minio: trouble connecting with other containers

hello @drewmoseley thank you for answering,
i also think it will have to do with the FQDN, but maybe it is because i dont fully understand the documentation,

in the production documentation, there is an example of s3.

    storage-proxy:
        networks:
            mender:
                aliases:
                    - s3.example.com
    ...

i assume, this is the place where the ‘minio’ connects to, now we will be hosting the server ourselves, so i assume IRL this would be mender.inuits.com the same goes for

 ...
    mender-deployments:
        ...
        environment:
            DEPLOYMENTS_AWS_AUTH_KEY: mender-deployments
            DEPLOYMENTS_AWS_AUTH_SECRET: ahshagheeD1ooPaeT8lut0Shaezeipoo
            DEPLOYMENTS_AWS_URI: https://mender.inuits.com:9000
    ...

and

    ...
    mender-api-gateway:
        ...
        environment:
            ALLOWED_HOSTS: mender.inuits.com
    ...

as everything will be put inside this one server, i assume everything should also be pointing to the same place, thus all having the same FQDN

what does the api ALLOWED_HOSTS actually do?

as for your command @drewmoseley, this may be a novice question, but i assume this is a line for bash and i insert this line inside the run file?

Thanks for the help!