Skip to content

Instantly share code, notes, and snippets.

@carlosjgp
Last active July 24, 2016 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosjgp/f0260fed6f1821ab9c1e4b6bcdeedeef to your computer and use it in GitHub Desktop.
Save carlosjgp/f0260fed6f1821ab9c1e4b6bcdeedeef to your computer and use it in GitHub Desktop.
[Spring Boot] Docker compose
version: '2.0'
services:
awesome-service-1:
image: com.example/demo
ports:
- 8080:8080
awesome-service-2:
image: com.example/demo
ports:
- 8080:8081
docker-compose up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment