
[id='configuring-a-datasource-manually_{context}']
= Configuring a datasource manually

[discrete]
== Prerequisites

* A Maven-based application.
* A JDBC Driver configured.

[discrete]
== Procedure

. Edit the `project-defaults.yml` file to configure one or more datasources
using the JDBC driver of your choice. The configuration is stored under `thorntail`
-> `datasources` -> `data-sources`:
+
[source,yaml]
----
thorntail:
  datasources:
    data-sources:
include::src/main/resources/project-defaults.yml[tag=datasource,indent=6]
----
