Created
September 27, 2021 04:30
-
-
Save v1bh0r/2be84f7261b0c106d5986590e3e5bc3d to your computer and use it in GitHub Desktop.
Docker Compose file to help develop Spring Boot code locally using docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
api: | |
build: | |
context: ./ | |
dockerfile: Dockerfile | |
volumes: | |
- ./:/app | |
- ./.m2:/root/.m2 | |
working_dir: /app | |
command: sh run.sh | |
ports: | |
- 8080:8080 | |
- 35729:35729 | |
- 5005:5005 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment