This project is configured to run using Docker and Docker Compose. Follow the steps below to set up and run the application:
- The
postgres
service 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
.
app
service: Exposes port8080
.postgres
service: Exposes port5432
internally.
- The application is built using Maven and Java 17.
- The
app
service depends on thepostgres
service, which uses PostgreSQL.
For further details, refer to the project documentation or contact the maintainers.