Setting up a database in a template
First of all: Coder is running on my server at the office, and I want to host the workspaces on it too with Docker.
I've got a PHP project I'm trying to create a template for.
It requires a MySQL/MariaDB database to run, so I'm trying to set that up now, but I'm not sure how to go about it.
Do I create another terraform resource for it, like:
Or is there another preferred way to do it?
I've got a PHP project I'm trying to create a template for.
It requires a MySQL/MariaDB database to run, so I'm trying to set that up now, but I'm not sure how to go about it.
Do I create another terraform resource for it, like:
Or is there another preferred way to do it?