From f94404ac79e6fd0d87b0a1cbc3d3aeb9414ae9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Tulio=20=C3=81vila=20Cer=C3=B3n?= Date: Sun, 5 May 2024 18:24:45 +0200 Subject: [PATCH] none Updated the readme file --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 814f607..23a49a5 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,9 @@ java -jar .\build\libs\hours.ranges-0.0.1-SNAPSHOT.jar ``` # Running the Application in Docker -The application can also be run in a Docker container using the latest version of the image available on Docker Hub. If Docker is properly installed on your system, you can use the following command: + +The application can also be run in a Docker container using the latest version of the image available on Docker Hub. +If Docker is properly installed on your system, you can use the following command: ```shell docker run -d -p 8384:8384 totopo/hours:latest ``` @@ -41,6 +43,16 @@ Or alternatively, a release version of the image can be used like this: ```shell docker run -d -p 8384:8384 totopo/hours:1.0.1 ``` + +## Docker compose + +You can also use Docker Compose to run the application. The `docker-compose.yml` file is included in the project. +To run the application using Docker Compose, you can use the following command: + +```shell +docker compose up -d +``` + Check what is the latest version of the image on Docker Hub [here](https://hub.docker.com/repository/docker/totopo/hours/tags).