How to run drizzle-kit studio out of docker?

I'm trying to run drizzle-kit studio out of docker:
drizzle-studio:
  build:
    dockerfile: ./tools/Dockerfile
  ports:
    - 4983:4983
  environment:
    DATABASE_URL: postgresql://postgres:local@db:5432/postgres
  restart: always
  command: drizzle-kit studio

When I run docker-compose, I get the following log:
ecominate-drizzle-studio-1 | Drizzle Studio is up and running on https://local.drizzle.studio

yet when i visit the browser, it says its "Connecting to the Drizzle Kit on localhost:4983"
are there separate docker instructions for how to run this?
Was this page helpful?