mirror of
https://github.com/Monadical-SAS/network-filter.git
synced 2025-12-20 12:19:06 +00:00
feat: first version
This commit is contained in:
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
network-filter:
|
||||
build: .
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
environment:
|
||||
- ALLOWED_DOMAINS=github.com,api.github.com,httpbin.org,raw.githubusercontent.com
|
||||
# - DNS_SERVERS=8.8.8.8,8.8.4.4
|
||||
# - REFRESH_INTERVAL=600 # Optional: Refresh interval in seconds (default: 300)
|
||||
# - RUN_SELFTEST=true # Optional: Run a self-test on startup (default: false)
|
||||
command: ["/network-filter.sh"]
|
||||
networks:
|
||||
- public
|
||||
|
||||
networks:
|
||||
public:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user