Skip to content

Commit 6ad88fc

Browse files
committed
Add docker-compose.yml
This commit adds docker-compose.yml into this project: * build docker image from versions/alpine * use the privoxy.config through volume * run the
1 parent 80c5012 commit 6ad88fc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docker-compose.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: "3"
2+
services:
3+
privoxy:
4+
build:
5+
context: versions/alpine
6+
command: ["privoxy", "--no-daemon", "/etc/privoxy/config"]
7+
container_name: dc-privoxy
8+
image: scrapedia/privoxy:latest
9+
networks:
10+
- nw-privoxy
11+
ports:
12+
- "8118:8118"
13+
volumes:
14+
- "./privoxy.config:/etc/privoxy/config"
15+
16+
networks:
17+
nw-privoxy:
18+
driver: bridge

0 commit comments

Comments
 (0)