feat: Add Docker support for Java-free environments
This commit is contained in:
12
README.md
12
README.md
@@ -86,6 +86,18 @@ This project is licensed under the Apache License 2.0. See the `LICENSE` file fo
|
||||
./start.sh -Dserver.port=11435 -Dbridge.upstream-base-url=http://localhost:5002 -Dbridge.version=0.24.1 -Dbridge.reported-context-offset=5000
|
||||
```
|
||||
|
||||
### Docker
|
||||
|
||||
You can build and run the application as a Docker image:
|
||||
|
||||
```bash
|
||||
cd docker
|
||||
./build.sh
|
||||
./start-docker.sh
|
||||
```
|
||||
|
||||
The `build.sh` script builds a multi-stage Docker image that compiles the JAR inside Docker and packages it into a minimal runtime image. The `start-docker.sh` script runs the container with host networking.
|
||||
|
||||
## Architecture
|
||||
|
||||
- **`GatewayProxyConfiguration`**: Sets up the Spring Cloud Gateway routes to proxy requests.
|
||||
|
||||
Reference in New Issue
Block a user