Skip to content

Instantly share code, notes, and snippets.

@jun06t
Last active June 27, 2018 00:37
Show Gist options
  • Save jun06t/d4f786e41dbb5a78e041810ddf89ea8c to your computer and use it in GitHub Desktop.
Save jun06t/d4f786e41dbb5a78e041810ddf89ea8c to your computer and use it in GitHub Desktop.
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