https://github.com/io-sgr/docker-overture
A home-made Docker image for Overture
https://github.com/io-sgr/docker-overture
Last synced: 10 months ago
JSON representation
A home-made Docker image for Overture
- Host: GitHub
- URL: https://github.com/io-sgr/docker-overture
- Owner: io-sgr
- Created: 2021-07-29T03:00:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T06:48:47.000Z (almost 3 years ago)
- Last Synced: 2025-01-21T00:50:29.452Z (12 months ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Image for Overture
This repository hosts a home-made Docker image for [Overture](https://github.com/shawn1m/overture)
## How-To Use
It's very simple and easy, you can use environment variables to configure primary and alternative DNS:
```
docker run -it --rm --name=overture \
-e PRIMARY_DNS=AliDNS/dns.alidns.com:853@223.6.6.6/tcp-tls,Alidns-doh/https://dns.alidns.com/dns-query/https \
-e ALTERNATIVE_DNS=Google/dns.google:853@8.8.4.4/tcp-tls,Cloudflare/one.one.one.one:853@1.0.0.1/tcp-tls,OpenDNS/208.67.222.222:443/tcp \
-e CACHE_SIZE=1000 \
-v /etc/hosts:/opt/overture/hosts_sample \
-p 15353:53/udp sgrio/overture
```
Supported Environment Variables:
- **PRIMARY_DNS**, comma separated DNS list in format of \/\
/\
- **ALTERNATIVE_DNS**, similar to primary DNS
- **IP_NETWORK_FILE_PRIMARY**, location of IP network file
- **DOMAIN_FILE_ALTERNATIVE**, location of domain file for alternative DNS
- **HOSTS_FILE**, location of hosts file
- **CACHE_SIZE**, cache size
- **ALTERNATIVE_DNS_SOCKS5_PROXY**, socks5 proxy for alternative DNS
You can also update config file by mounting directly into container.