Commit ca6954ab authored by Geoff Simmons's avatar Geoff Simmons

Varnish containers listen by default at a non-privileged port.

Addresses #38
parent ffebbbb4
......@@ -46,7 +46,7 @@ COPY start.cli /etc/varnish
COPY varnishd_exec.sh /
RUN /bin/chmod 755 /varnishd_exec.sh
ENV HTTP_PORT=80 PROTO=HTTP READY_PORT=8080 SECRET_PATH=/var/run/varnish \
ENV HTTP_PORT=8888 PROTO=HTTP READY_PORT=8080 SECRET_PATH=/var/run/varnish \
SECRET_FILE=_.secret ADMIN_PORT=6081 GROUP=varnish \
OFFLOAD_PATH=/var/run/offload/varnish.sock CONFIG_PORT=8000
......
......@@ -27,7 +27,7 @@ RUN /usr/sbin/useradd -r -g varnish -d /var/lib/varnish -s /sbin/nologin \
-u 102 vcache
RUN /bin/chmod 755 /varnishd_exec.sh /etc/varnish
ENV HTTP_PORT=80 PROTO=HTTP READY_PORT=8080 SECRET_PATH=/var/run/varnish \
ENV HTTP_PORT=8888 PROTO=HTTP READY_PORT=8080 SECRET_PATH=/var/run/varnish \
SECRET_FILE=_.secret ADMIN_PORT=6081 GROUP=varnish \
OFFLOAD_PATH=/var/run/offload/varnish.sock CONFIG_PORT=8000
......
......@@ -10,7 +10,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -11,7 +11,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -11,7 +11,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -11,7 +11,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -11,7 +11,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -11,7 +11,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -11,7 +11,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -11,7 +11,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -8,7 +8,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -11,7 +11,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
selector:
......
......@@ -8,7 +8,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
......@@ -8,7 +8,7 @@ spec:
type: NodePort
ports:
- port: 80
targetPort: 80
targetPort: 8888
protocol: TCP
name: http
- port: 443
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment