Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow varnish listen several ports #45

Open
AntoineLemaire opened this issue Jul 10, 2019 · 1 comment
Open

Allow varnish listen several ports #45

AntoineLemaire opened this issue Jul 10, 2019 · 1 comment
Labels

Comments

@AntoineLemaire
Copy link

Hello there,

I try to replace my custom varnish container by one base on cooptilleuls/varnish:4-alpine :

Here my Dockerfile:

FROM cooptilleuls/varnish:4-alpine

# Make our custom VCLs available on the container

COPY ./*.vcl /usr/local/etc/varnish/

EXPOSE 80 3000

Previously, I had a entrypoint.sh which launch
varnishd -a :80 -a :3000 -f $VCL_CONFIG -s malloc,$CACHE_SIZE &,

allow me to listen both ports 80 and 3000

Is it possible to do that using the alpine version?

Thanks for helping

@teohhanhui
Copy link
Contributor

@AntoineLemaire You can achieve that by changing the CMD 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants