I use this Python Flask script to let users create their own Dokuwiki at http://www.informatick.net/
Since it currently relies on "invite codes", you can also decide not to publish them and use it to quickly create new Dokuwiki 'animals' for your own purposes.
For the concept of 'Dokuwiki Farming', see https://www.dokuwiki.org/farms
For detailed setup notes, see INSTALL.md