looking through the official admin guide it doesn’t take ages to find the screenshot I referenced in this post
depending o your (automated) installation method you might not hit this screen - but I bet all of the (good) installation guides point you to the setting where you can change the data directory..