Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#Example docker-compose.yaml file
#docker-compose is a more robust and efficient way to run docker containers than "docker run"
#Run "docker-compose up -d" in the same directory as the file to run it
#Periodically run "docker-compose up -d to update it

version: "3.5"

services:
squid:
container_name: squid
image: sameersbn/squid:latest
ports:
- "192.168.0.69:3128:3128"
volumes:
- "./squid.conf:/etc/squid/squid.conf"
- "/srv/docker/squid/cache/:/var/spool/squid/"
- "./access.log:/var/log/squid/access.log"
restart: always