Can I migrate from binary to docker?

I’ve been trying to set this up using the mattermost/docker repo, but I’m getting an error when the pod starts up.

Error: failed to load configuration: failed to create store: unable to load on store creation: invalid config: Config.IsValid: model.config.is_valid.site_url.app_error, 

I modified docker-compose.yml so it doesn’t create the postgresql container.
I’ve copied my existing data from my binary deployment to volumes/app/mattermost, so the site url is the existing one for that deployment, in the format https://example.com. I tried changing it to other values such as http://localhost or http://example.com:8888 (I’m using port 8888 for http so I don’t conflict with my existing deployment).