Error: Could not connect to the API server

After a first run with Docker Compose/Portainer

I’m Also getting: “Network error Could not connect to the API server.”

I have tried a few different variations of the Docker Compose config

I can reach the site via subdomain.domain and https is working via LetsEncrypt but always get the API error.
Any help appreciated

Config:

version: “3.4”
services:
baserow:
container_name: baserow-mywebsite
image: baserow/baserow:1.14.0
environment:
BASEROW_PUBLIC_URL: ‘http://10.0.50.147:8080
BASEROW_CADDY_ADDRESSES: ‘https://baserow.mywebsite.co.uk’ (also tried 443 here)
ports:
- “8080:80”
- “443:443”
volumes:
- baserow_data:/baserow/data
volumes:
baserow_data: