Starting couchbase server with config

Hey All!
Quick question. I’m wanting to start couchbase-server preconfigured. Making a local testbed running couchbase in containers, and want them to startup with the right bucket name and credentials.

If the only way to do this is through the rest api I can do but was hoping for one based on some kind of config file like the sync gateway. Can’t find documentation on this so if I can just be pointed to that it’s perfect!