Skip to content

Instantly share code, notes, and snippets.

@yottta
Last active March 26, 2019 10:25
Show Gist options
  • Save yottta/6786ab886147a45b084f69973552c42d to your computer and use it in GitHub Desktop.
Save yottta/6786ab886147a45b084f69973552c42d to your computer and use it in GitHub Desktop.
Medium article about WebSockets throughout Varnish - docker-compose.yml with varnish
version: "3"
services:
web:
build: ./web
container_name: web-client
networks:
- internal-network
server:
build: ./server
container_name: product-service
networks:
- internal-network
varnish:
build: ./varnish
container_name: varnish-server
depends_on:
- server
- web
ports:
- "80:6081"
networks:
- internal-network
networks:
internal-network:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment