634 B
634 B
version: '3'
services: squid: image: sameersbn/squid volumes: - ./squid.conf:/etc/squid/squid.conf:ro - squid_cache:/var/spool/squid ports: - "3128" networks: - proxy
nghttpx: image: nghttpx/nghttpx command: nghttpx -f /etc/nghttpx/nghttpx.conf volumes: - ./nghttpx.conf:/etc/nghttpx/nghttpx.conf:ro environment: - http_proxy=http://squid:3128 - https_proxy=http://squid:3128 - no_proxy=localhost,127.0.0.1,172.20.* ports: - "80" networks: - proxy
volumes: squid_cache:
networks: proxy: external: true name: npm