muenchhausen / docker-squidguard

squidGuard extension to sameersbn/docker-squid
MIT License
16 stars 9 forks source link

Possibility to specify "squid.conf" #4

Open vistalba opened 6 years ago

vistalba commented 6 years ago

Is there any possibility to specifiy also the squid.conf in the same way like the squidGuard.conf? I can't find any env and also nothing in the startup file.

I think that would be very useful, because my squid.conf are very special.

muenchhausen commented 6 years ago

I think, you can solve this by a simple volume mapping in your docker-compose.yml file:

  volumes:
      - ./mysquid.conf:/etc/squid3/squid.conf

This existing squid.conf is almost empty. The current squid.conf content is: redirect_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf