Skip to content

Commit

Permalink
none Updated the readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Tulio Ávila Cerón committed May 5, 2024
1 parent 7b6a0fb commit f94404a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,26 @@ 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
```
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).

Expand Down

0 comments on commit f94404a

Please sign in to comment.