1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-11-25 12:46:54 +00:00

docker-compose example

This commit is contained in:
Dmitry Belyaev 2017-02-08 10:09:35 +03:00
parent cc0825b06d
commit 7e006153b7

13
docker-compose.yml Normal file
View 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'