This project is configured to run using Docker and Docker Compose. Follow the steps below to set up and run the application:
- The
postgresservice requires the following environment variables:POSTGRES_USER: Set tospring_user.POSTGRES_PASSWORD: Set tosecret.POSTGRES_DB: Set totodo_db.
- Clone the repository and navigate to the project directory.
- Build and start the services using Docker Compose:
docker compose up --build
- Access the application at
http://localhost:8080.
appservice: Exposes port8080.postgresservice: Exposes port5432internally.
- The application is built using Maven and Java 17.
- The
appservice depends on thepostgresservice, which uses PostgreSQL.
For further details, refer to the project documentation or contact the maintainers.