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
- Host: GitHub
- URL: https://github.com/raulrobinson/java-springboot-basic
- Owner: raulrobinson
- Created: 2022-07-26T20:08:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-31T17:52:31.000Z (12 months ago)
- Last Synced: 2025-07-26T16:56:03.548Z (5 months ago)
- Topics: api-rest, docker, java, springboot
- Language: Java
- Homepage: https://rasysbox.com
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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