-
Create inside the project root folder a file called
.env. -
Inside the file add the following fields:
POSTGRES_USER=<USER> POSTGRES_PASSWORD=<PASSWORD> POSTGRES_DB=<DB> -
Replace the
<>values with the ones in the Trello Workspace.
Open your terminal and execute the following command to build the docker environment.
docker compose up
NOTE: the postgres database will run on port 5432.
- Java version: 17.0.6 Amazon Corretto.
- Add the environmental variables to the Java application (Tutorial).
- NOTE: they are also located on the Trello Workspace.
- Hibernate will by default perform
create-dropoperations to create the database tables. After you run the project and want to keep your data, make sure to change the flag tononeinside/src/java/resources/application.yml.
- hugocosta@gmail.com
- 12345678