Migrating from windows to docker

I’m not having any problems right now, just trying to plan ahead. I’m using Caddy on Windows 10. I have https configured with cloudflare and I use a caddyfile.

Basically I’m looking to find out how I can migrate all of the files/settings necessary so that I can copy my existing working setup to Docker.

Any advice would be appreciated!

You can use the official Docker image for Caddy: Docker Hub

The instructions there should be plenty to get you started.