Skip to content

Commit

Permalink
changed default container listen port to 8080. See varnish/docker-var…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysnm committed Nov 10, 2022
1 parent dd327e3 commit 5004b5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
- VARNISH_SIZE=${VARNISH_SIZE:-2G}
- VARNISH_HTTP_PORT=${VARNISH_APP_PORT}

0 comments on commit 5004b5b

Please sign in to comment.