Grafana + docker + root url

I’m having trouble getting grafana to work properly inside a docker container. I’m 100% sure its related to my root_url, http_port or domain settings.

My config looks like:
#################################### Server ####################################
[server]

Protocol (http or https)

protocol = http

The http port to use

http_port = 3000

The public facing domain name used to access grafana from a browser

domain = localhost:3000

The full public facing url

root_url = http://localhost:3000/

Log web requests

router_logging = true

the path relative working path

static_root_path = public

enable gzip

enable_gzip = false

Here’s what chrome does with that when attempting to find it on localhost. Everything but the css is loaded correctly as far as I can tell.