Initial commit
This commit is contained in:
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
squid:
|
||||
build: .
|
||||
container_name: squid-ssl-proxy
|
||||
ports:
|
||||
- "3128:3128"
|
||||
volumes:
|
||||
- ./data/squid-cache:/var/cache/squid
|
||||
- ./data/squid-logs:/var/log/squid
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
|
||||
fluent-bit:
|
||||
image: fluent/fluent-bit
|
||||
container_name: fluent-bit-logger
|
||||
profiles:
|
||||
- logging
|
||||
volumes:
|
||||
- ./fluent-bit/conf/:/fluent-bit/etc/
|
||||
- ./data/squid-logs:/var/log/squid:ro
|
||||
- ./data/fluent-bit-db:/fluent-bit/db
|
||||
ports:
|
||||
- "2020:2020"
|
||||
depends_on:
|
||||
- squid
|
||||
extra_hosts:
|
||||
- "my-log-server:192.168.1.100"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user