mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-29 17:40:28 +00:00
also updates kubernetes resources to separate app & varnish into two different deployments
9 lines
206 B
Bash
9 lines
206 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Generate VCL at runtime
|
|
gomplate -f /etc/varnish/default.vcl.tmpl -o /etc/varnish/default.vcl
|
|
|
|
# Execute startup CMD
|
|
exec varnishd -F -f /etc/varnish/default.vcl -a :6081 -s malloc,512m
|