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