test: squid:4
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-08-06 11:50:03 +01:00
parent 5ec8008ac8
commit 4b264582f2
1 changed files with 9 additions and 5 deletions

View File

@ -9,16 +9,20 @@ services:
condition: any condition: any
image: wrouesnel/docker-squid4 image: wrouesnel/docker-squid4
environment: environment:
- CONFIG_DISABLE=yes - MITM_PROXY=yes
- HTTP_PORT=3128
- MITM_CERT=/local-mitm.crt
- MITM_KEY=/local-mitm.pem
- VISIBLE_HOSTNAME=git.local-domain
# - CONFIG_DISABLE=yes
volumes: volumes:
- ./squid-4/squid.intercept.conf:/etc/squid4/squid.conf #- ./squid-4/squid.intercept.conf:/etc/squid4/squid.conf
# - squid-cache:/apps/squid/var/cache/squid # - squid-cache:/apps/squid/var/cache/squid
#- ./squid.intercept.conf:/etc/squid/squid.conf #- ./squid.intercept.conf:/etc/squid/squid.conf
- ./myCA/CA_crt.pem:/apps/CA_crt.pem - ./myCA/CA_crt.pem:/local-mitm.crt:ro
- ./myCA/CA_key.pem:/apps/CA_key.pem - ./myCA/CA_key.pem:/local-mitm.pem:ro
ports: ports:
- 3128:3128 - 3128:3128
- 3129:3129
networks: networks:
- appnet - appnet
- externalnet - externalnet