Skip to content

Instantly share code, notes, and snippets.

@v1bh0r
Created September 27, 2021 04:30
Show Gist options
  • Save v1bh0r/2be84f7261b0c106d5986590e3e5bc3d to your computer and use it in GitHub Desktop.
Save v1bh0r/2be84f7261b0c106d5986590e3e5bc3d to your computer and use it in GitHub Desktop.
Docker Compose file to help develop Spring Boot code locally using docker
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