Advertisement
Guest User

DockerSearxGluetun

a guest
Jan 17th, 2025
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.87 KB | Software | 0 0
  1. services:
  2.   gluetun:
  3.     image: qmcgaw/gluetun
  4.     container_name: gluetun
  5.     cap_add:
  6.      - NET_ADMIN
  7.     environment:
  8.      - VPN_SERVICE_PROVIDER=protonvpn
  9.       - VPN_TYPE=wireguard
  10.       - WIREGUARD_PRIVATE_KEY=$$WIREGAURDKEY
  11.       - SERVER_COUNTRIES=Poland
  12.       - PORT_FOWARD_ONLY=on
  13.       - UPDATER_PERIOD=24h
  14.       - TZ=$$$TIMEZONE
  15.     security_opt:
  16.      - no-new-privileges:true
  17.     ports:
  18.      - 8080:8080 #searxng
  19.     devices:
  20.      - /dev/net/tun:/dev/net/tun
  21.     restart: unless-stopped
  22.   searxng:
  23.     image: searxng/searxng
  24.     container_name: SearXNG
  25.     network_mode: "service:gluetun"
  26.     environment:
  27.      - PUID=1100
  28.       - PGID=1100
  29.       - TZ=$$TIMEZONE
  30.     depends_on:
  31.       gluetun:
  32.         condition: service_healthy
  33.     security_opt:
  34.      - no-new-privileges:true
  35.     volumes:
  36.      - /:glueton
  37.     restart: on-failure:5
Tags: docker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement