Logic on properly deploying things

So I've been getting into a more professional workflow (id say) with better github practices, working with containers and orchestrators and such
But now that I don't "manually" deploy my programs onto a server anymore, I got a question about my config files

For example if I make a discord bot I wouldn't hardcode the details but rather make the bot create a folder for itself for things like the database it needs to run or the config for me to put the bot token into

How would I go on about giving the token to the bot for example, do I just ship the config file and folder with the image or is there some other workflow
Was this page helpful?