Last active
June 27, 2018 00:37
-
-
Save jun06t/d4f786e41dbb5a78e041810ddf89ea8c to your computer and use it in GitHub Desktop.
Revisions
-
jun06t revised this gist
Jun 27, 2018 . No changes.There are no files selected for viewing
-
jun06t created this gist
Jun 27, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,44 @@ 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: {}