diff --git a/node/Dockerfile b/node/Dockerfile index 50471b10..ee38a377 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -25,6 +25,8 @@ COPY usr/ /usr RUN chmod 700 /etc/kubeadm.conf.d && \ ostree container commit +RUN echo 'include /etc/squid/conf.d/*.conf' >> /etc/squid/squid.conf + # enable services RUN systemctl enable \ containerd.service \ diff --git a/node/etc/squid/conf.d/cache-dir.conf b/node/etc/squid/conf.d/cache-dir.conf new file mode 100644 index 00000000..66eaf4a4 --- /dev/null +++ b/node/etc/squid/conf.d/cache-dir.conf @@ -0,0 +1 @@ +cache_dir ufs /var/spool/squid 8192 16 256 diff --git a/node/etc/squid/conf.d/icp.conf b/node/etc/squid/conf.d/icp.conf new file mode 100644 index 00000000..66c81ecc --- /dev/null +++ b/node/etc/squid/conf.d/icp.conf @@ -0,0 +1,2 @@ +icp_port 3130 +icp_access allow localnet