blob: 5c14cfaf7c16d1805d776692ec7852f866d341a4 [file] [log] [blame]
#
# This Docker stackfile deploys an envoy proxy container.
#
# The stackfile assumes that overlay network 'voltha_net' has already been
# created. To deploy the stack, issue the command:
#
# docker stack deploy -c docker-compose-envoy-swarm.yml envoy
#
version: "3"
services:
voltha:
image: voltha/envoy:latest
deploy:
replicas: 1
environment:
DOCKER_HOST_IP: "${DOCKER_HOST_IP}"
entrypoint:
- /usr/local/bin/envoyd
- -envoy-cfg-template
- "/envoy/voltha-grpc-proxy.template.json"
- -envoy-config
- "/envoy/voltha-grpc-proxy.json"
networks:
- voltha-net
ports:
- "50555:50555"
- "8882:8882"
- "8443:8443"
- "8001:8001"
volumes:
- /var/run/docker.sock:/tmp/docker.sock
networks:
voltha-net:
external:
name: voltha_net