Created
August 30, 2017 09:39
-
-
Save jonashackt/738858e167fa11570e66da34318ef18e to your computer and use it in GitHub Desktop.
docker-compose.yml for multiple Spring Boot apps on Docker Windows Containers
This file contains 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.2' | |
services: | |
zuul-edgeservice: | |
build: ./zuul-edgeservice | |
ports: | |
- "8080:8080" | |
tty: | |
true | |
restart: | |
unless-stopped | |
eureka-serviceregistry: | |
build: ./eureka-serviceregistry | |
ports: | |
- "8761:8761" | |
tty: | |
true | |
restart: | |
unless-stopped | |
eureka-serviceregistry-second: | |
build: ./eureka-serviceregistry-second | |
ports: | |
- "8761" | |
tty: | |
true | |
restart: | |
unless-stopped | |
weatherbackend: | |
build: ./weatherbackend | |
ports: | |
- "8090" | |
tty: | |
true | |
restart: | |
unless-stopped | |
weatherservice: | |
build: ./weatherservice | |
ports: | |
- "8095" | |
tty: | |
true | |
restart: | |
unless-stopped | |
networks: | |
default: | |
external: | |
name: "nat" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment