Skip to content

Commit

Permalink
node: basic squid config
Browse files Browse the repository at this point in the history
  • Loading branch information
samcday committed Jul 2, 2024
1 parent 84677fe commit 5f82790
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions node/etc/squid/conf.d/cache-dir.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cache_dir ufs /var/spool/squid 8192 16 256
2 changes: 2 additions & 0 deletions node/etc/squid/conf.d/icp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
icp_port 3130
icp_access allow localnet

0 comments on commit 5f82790

Please sign in to comment.