prep-9oorm

所属分类:Docker
开发工具:kotlin
文件大小:0KB
下载次数:0
上传日期:2023-09-06 14:53:08
上 传 者sh-1993
说明:  9oorm的服务器准备
(Server Prep for 9oorm)

文件列表:
LICENSE (11357, 2023-07-06)
fastapi/ (0, 2023-07-06)
fastapi/Dockerfile (144, 2023-07-06)
fastapi/Makefile (61, 2023-07-06)
fastapi/app.py (103, 2023-07-06)
fastapi/docker-compose.yml (146, 2023-07-06)
fastapi/main.py (606, 2023-07-06)
fastapi/requirements.txt (333, 2023-07-06)
springboot/ (0, 2023-07-06)
springboot/Dockerfile (396, 2023-07-06)
springboot/Makefile (129, 2023-07-06)
springboot/build.gradle.kts (759, 2023-07-06)
springboot/docker-compose.yml (148, 2023-07-06)
springboot/gradle/ (0, 2023-07-06)
springboot/gradle/wrapper/ (0, 2023-07-06)
springboot/gradle/wrapper/gradle-wrapper.jar (62076, 2023-07-06)
springboot/gradle/wrapper/gradle-wrapper.properties (223, 2023-07-06)
springboot/gradlew (8496, 2023-07-06)
springboot/gradlew.bat (2868, 2023-07-06)
springboot/settings.gradle.kts (26, 2023-07-06)
springboot/src/ (0, 2023-07-06)
springboot/src/main/ (0, 2023-07-06)
springboot/src/main/kotlin/ (0, 2023-07-06)
springboot/src/main/kotlin/com/ (0, 2023-07-06)
springboot/src/main/kotlin/com/example/ (0, 2023-07-06)
springboot/src/main/kotlin/com/example/demo/ (0, 2023-07-06)
springboot/src/main/kotlin/com/example/demo/DemoApplication.kt (573, 2023-07-06)
springboot/src/main/kotlin/com/example/demo/HelloWorldController.kt (537, 2023-07-06)
springboot/src/main/resources/ (0, 2023-07-06)
springboot/src/main/resources/application.yml (33, 2023-07-06)
springboot/src/test/ (0, 2023-07-06)
springboot/src/test/kotlin/ (0, 2023-07-06)
springboot/src/test/kotlin/com/ (0, 2023-07-06)
springboot/src/test/kotlin/com/example/ (0, 2023-07-06)
springboot/src/test/kotlin/com/example/demo/ (0, 2023-07-06)
springboot/src/test/kotlin/com/example/demo/DemoApplicationTests.kt (202, 2023-07-06)

# 9oorm Preparation Server Preparation for 9oormthon
### FastAPI Server **Info** - Base environment: `python:3.8-slim` - Port: 8000 **Run** ```bash # Run FastAPI Server cd fastapi make up # Stop FastAPI Server make down ```
### Spring Boot Server (Kotlin) **Info** - Base environment: `openjdk:17.0.2-jdk` - Port: 9000 **Run** ```bash # Run the Spring Boot Server (Kotlin) cd spring-boot make up # Stop the Spring Boot Server (Kotlin) make down ```
### Discription **Preparing an Automated Container Packaging Environment with Dockerfile and Docker Compose** In this setup, we have successfully configured an automated container packaging environment using Dockerfile and Docker Compose. This environment allows us to streamline the deployment of our Spring Boot Server (Kotlin) application and FastAPI Server. **Dockerfile and Docker Compose Files** We utilize Dockerfile to define the configuration for our Spring Boot Server (Kotlin) application. This Dockerfile specifies the base environment as `openjdk:17.0.2-jdk`, sets the working directory, copies the compiled Spring Boot application JAR file into the container, exposes port 9000, and defines the command to run the application. Our Docker Compose file coordinates the deployment of both the Spring Boot Server and the FastAPI Server. It ensures that the services run efficiently and are easily managed. **Usage** - To start the Spring Boot Server (Kotlin) and FastAPI Server, navigate to their respective directories and run `make up`. - To stop both servers, use `make down`. This automated container packaging environment simplifies the development and deployment process, making it easier to manage and scale our applications.

近期下载者

相关文件


收藏者