Last active
June 27, 2018 00:37
-
-
Save jun06t/d4f786e41dbb5a78e041810ddf89ea8c to your computer and use it in GitHub Desktop.
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: '2.4' | |
services: | |
gateway: | |
build: | |
context: . | |
dockerfile: Dockerfile-gateway | |
networks: | |
- front-proxy | |
expose: | |
- "3000" | |
ports: | |
- "3000:3000" | |
environment: | |
- ENDPOINT=front-proxy:8000 | |
front-envoy: | |
build: | |
context: . | |
dockerfile: Dockerfile-frontenvoy | |
container_name: front-proxy | |
volumes: | |
- ./front-envoy.yaml:/etc/front-envoy.yaml | |
networks: | |
- front-proxy | |
expose: | |
- "8000" | |
- "8001" | |
ports: | |
- "8001:8001" | |
grpc: | |
build: | |
context: . | |
dockerfile: Dockerfile-grpc | |
networks: | |
front-proxy: | |
aliases: | |
- backend | |
expose: | |
- "8080" | |
networks: | |
front-proxy: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment