mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-22 03:06:53 +00:00
docker-compose example
This commit is contained in:
parent
cc0825b06d
commit
7e006153b7
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
squid:
|
||||||
|
build: .
|
||||||
|
image: 'b4tman/squid'
|
||||||
|
container_name: 'my-squid'
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- '3128:3128'
|
||||||
|
# environment:
|
||||||
|
# SQUID_CONFIG_FILE: /etc/squid/my-squid.conf
|
||||||
|
# volumes:
|
||||||
|
# - './my-squid.conf:/etc/squid/my-squid.conf:ro'
|
Loading…
Reference in New Issue
Block a user