-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 885 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (29 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Author: Satish Gaikwad <satish@satishweb.com>
# Please declare DOLLAR variable to dollar sign before running envsubst command on this file
version: "3.4"
networks:
proxy:
services:
squid:
image: satishweb/squid-ssl-proxy:latest
networks:
- proxy
environment:
- CERT_CN=squid.local
- CERT_ORG=squid
- CERT_OU=squid
- CERT_COUNTRY=US
- SQUID_PROXY_PORT=${SQUID_PROXY_PORT}
- SQUID_PROXY_SSLBUMP_PORT=${SQUID_PROXY_SSLBUMP_PORT}
ports:
- "${SQUID_PROXY_PORT}:${SQUID_PROXY_PORT}"
- "${SQUID_PROXY_SSLBUMP_PORT}:${SQUID_PROXY_SSLBUMP_PORT}"
dns:
- ${DNS_SERVER}
volumes:
- ./data/log:/var/log/
- ./data/cache:/var/cache
- ./data/cert:/etc/squid-cert
# - ./conf/squid.sample.conf:/templates/squid.sample.conf
# - ./scripts/entrypoint.sh /entrypoint
restart: always