lerone revised this gist . Go to revision
1 file changed, 46 insertions
gistfile1.txt(file created)
| @@ -0,0 +1,46 @@ | |||
| 1 | + | version: "2.4" | |
| 2 | + | ||
| 3 | + | services: | |
| 4 | + | whoogle-search: | |
| 5 | + | image: benbusby/whoogle-search:latest | |
| 6 | + | container_name: whoogle-search | |
| 7 | + | restart: unless-stopped | |
| 8 | + | pids_limit: 50 | |
| 9 | + | mem_limit: 256mb | |
| 10 | + | memswap_limit: 256mb | |
| 11 | + | # user debian-tor from tor package | |
| 12 | + | user: whoogle | |
| 13 | + | security_opt: | |
| 14 | + | - no-new-privileges | |
| 15 | + | cap_drop: | |
| 16 | + | - ALL | |
| 17 | + | tmpfs: | |
| 18 | + | - /config/:size=10M,uid=927,gid=927,mode=1700 | |
| 19 | + | - /var/lib/tor/:size=15M,uid=927,gid=927,mode=1700 | |
| 20 | + | - /run/tor/:size=1M,uid=927,gid=927,mode=1700 | |
| 21 | + | #environment: # Uncomment to configure environment variables | |
| 22 | + | # Basic auth configuration, uncomment to enable | |
| 23 | + | #- WHOOGLE_USER=<auth username> | |
| 24 | + | #- WHOOGLE_PASS=<auth password> | |
| 25 | + | # Proxy configuration, uncomment to enable | |
| 26 | + | #- WHOOGLE_PROXY_USER=<proxy username> | |
| 27 | + | #- WHOOGLE_PROXY_PASS=<proxy password> | |
| 28 | + | #- WHOOGLE_PROXY_TYPE=<proxy type (http|https|socks4|socks5) | |
| 29 | + | #- WHOOGLE_PROXY_LOC=<proxy host/ip> | |
| 30 | + | # Site alternative configurations, uncomment to enable | |
| 31 | + | # Note: If not set, the feature will still be available | |
| 32 | + | # with default values. | |
| 33 | + | #- WHOOGLE_ALT_TW=farside.link/nitter | |
| 34 | + | #- WHOOGLE_ALT_YT=farside.link/invidious | |
| 35 | + | #- WHOOGLE_ALT_IG=farside.link/bibliogram/u | |
| 36 | + | #- WHOOGLE_ALT_RD=farside.link/libreddit | |
| 37 | + | #- WHOOGLE_ALT_MD=farside.link/scribe | |
| 38 | + | #- WHOOGLE_ALT_TL=farside.link/lingva | |
| 39 | + | #- WHOOGLE_ALT_IMG=farside.link/rimgo | |
| 40 | + | #- WHOOGLE_ALT_WIKI=farside.link/wikiless | |
| 41 | + | #- WHOOGLE_ALT_IMDB=farside.link/libremdb | |
| 42 | + | #- WHOOGLE_ALT_QUORA=farside.link/quetre | |
| 43 | + | #env_file: # Alternatively, load variables from whoogle.env | |
| 44 | + | #- whoogle.env | |
| 45 | + | ports: | |
| 46 | + | - 5000:5000 | |
Newer
Older