Varnish docker-compose.yml file that defines container dependencies
version: '3' | |
services: | |
echo-server: | |
image: "jmalloc/echo-server:latest" | |
container_name: origin | |
hostname: origin | |
ports: | |
- "8080:8080" | |
varnish: | |
image: "varnish:latest" | |
container_name: varnish | |
hostname: varnish | |
volumes: | |
- ./config/default.vcl:/etc/varnish/default.vcl | |
ports: | |
- "80:80" | |
depends_on: | |
- "origin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment