version: "3.7" services: squid: deploy: placement: constraints: [node.labels.com.sigyl.git-stack == yes] replicas: 1 restart_policy: condition: any image: squid volumes: - squid-cache:/var/spool/squid #- ./squid.intercept.conf:/etc/squid/squid.conf - ./myCA/CA_crt.pem:/apps/CA_crt.pem - ./myCA/CA_key.pem:/apps/CA_key.pem ports: - 3128:3128 networks: - appnet - externalnet squid-deb: deploy: placement: constraints: [node.labels.com.sigyl.git-stack == yes] replicas: 1 restart_policy: condition: any image: mikepurvis/squid-deb-proxy:latest volumes: - squid-deb-cache:/cachedir ports: - 8000:8000 networks: - appnet - externalnet volumes: squid-cache: squid-deb-cache: networks: appnet: driver: overlay externalnet: driver: overlay external: true