An open API service indexing awesome lists of open source software.

https://github.com/raulrobinson/java-springboot-basic

Service for Docker Command Management
https://github.com/raulrobinson/java-springboot-basic

api-rest docker java springboot

Last synced: 3 months ago
JSON representation

Service for Docker Command Management

Awesome Lists containing this project

README

          

# java-springboot-basic

Service for Docker Command Management

## Requirements

For building and running the application you need:

- [JDK 11](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) or later
- [Maven 3](https://maven.apache.org)
- [Docker](https://www.docker.com/products/docker-desktop)
- [Docker Compose](https://docs.docker.com/compose/install/)
- [Docker Hub](https://hub.docker.com/)

## Running the application locally

There are several ways to run a Spring Boot application on your local machine. One way is to execute the `main` method in the `com.rasys.dockercommandmanagement.DockerCommandManagementApplication` class from your IDE.

Alternatively you can use the Spring Boot Maven plugin like so:

```shell
mvn spring-boot:run
```

## Running the application with Docker

You can run the application with Docker using the following commands:

```shell
docker build -t docker-command-management .
docker run -p 8080:8080 docker-command-management
```

## Running the application with Docker Compose

You can run the application with Docker Compose using the following commands:

```shell
docker-compose up
```

## Swagger UI

You can access the Swagger UI at [http://localhost:8080/java-springboot-basic/swagger-ui/index.html](http://localhost:8080/swagger-ui.html).

## License
MIT License