From 5004b5b3fc7326e09636502bc68155cb3f1e3c6a Mon Sep 17 00:00:00 2001 From: jaysnm Date: Thu, 10 Nov 2022 14:53:20 +0300 Subject: [PATCH] changed default container listen port to 8080. See https://github.com/varnish/docker-varnish/issues/55 --- docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index de6ab7e..e4fc545 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,8 +14,9 @@ services: container_name: ${VARNISH_CNTR_NAME:-varnish} image: varnish:alpine ports: - - ${HOST_IP:-172.17.0.1}:${VARNISH_PORT:-7900}:80 + - ${HOST_IP:-172.17.0.1}:${VARNISH_HOST_PORT:-7900}:${VARNISH_APP_PORT:-8080} volumes: - ./varnish/default.vcl/:/etc/varnish/default.vcl environment: - - VARNISH_SIZE=${VARNISH_SIZE:-2G} \ No newline at end of file + - VARNISH_SIZE=${VARNISH_SIZE:-2G} + - VARNISH_HTTP_PORT=${VARNISH_APP_PORT} \ No newline at end of file