Skip to content

Instantly share code, notes, and snippets.

@obcode
Last active May 14, 2020 09:41
Show Gist options
  • Save obcode/c40ea5e86aef416369b91db8bd7863ba to your computer and use it in GitHub Desktop.
Save obcode/c40ea5e86aef416369b91db8bd7863ba to your computer and use it in GitHub Desktop.
Beispiel Docker-Compose für VSS Blatt 1
version: "3"
services:
customerservice:
image: docker.pkg.github.com/vesose/solutionb1/customerservice:latest
command: --bind=customerservice:9010
bookservice:
image: docker.pkg.github.com/vesose/solutionb1/bookservice:latest
command: --bind=bookservice:9020
libraryservice:
image: docker.pkg.github.com/vesose/solutionb1/libraryservice:latest
command: --bind=libraryservice:9000 --customerservice=customerservice:9010 --bookservice=bookservice:9020
links:
- customerservice
- bookservice
client:
image: docker.pkg.github.com/vesose/solutionb1/client:latest
command: --bind=client:9030 --libraryservice=libraryservice:9000
links:
- libraryservice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment