From fa1c764bd3221287162e82d65e16cff09c64576f Mon Sep 17 00:00:00 2001 From: root Date: Sun, 1 Oct 2023 08:07:59 +0300 Subject: [PATCH] 3proxy jackett uptime-kuma wg-easy --- 3proxy.yml | 15 +++++++++++++++ jackett.yml | 17 +++++++++++++++++ uptime-kuma-traefik.yml | 22 ++++++++++++++++++++++ wg-easy.yml | 30 ++++++++++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 3proxy.yml create mode 100644 jackett.yml create mode 100644 uptime-kuma-traefik.yml create mode 100644 wg-easy.yml diff --git a/3proxy.yml b/3proxy.yml new file mode 100644 index 0000000..1bebff2 --- /dev/null +++ b/3proxy.yml @@ -0,0 +1,15 @@ +version: '2' + +services: + 3proxy: + image: timkolotov/3proxy-docker + container_name: 3proxy + restart: always + environment: + - HTTP_PORT=8080 + - SOCKS_PORT=1080 + volumes: + - ./passwd:/etc/3proxy/passwd:ro + ports: + - "1080:1080" + - "3128:8080" diff --git a/jackett.yml b/jackett.yml new file mode 100644 index 0000000..1deb375 --- /dev/null +++ b/jackett.yml @@ -0,0 +1,17 @@ +--- +version: "2.1" +services: + jackett: + image: lscr.io/linuxserver/jackett:latest + container_name: jackett + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - AUTO_UPDATE=false + volumes: + - /opt/jackett:/config + - /opt/data/downloads:/downloads + ports: + - 9117:9117 + restart: unless-stopped diff --git a/uptime-kuma-traefik.yml b/uptime-kuma-traefik.yml new file mode 100644 index 0000000..aa32e94 --- /dev/null +++ b/uptime-kuma-traefik.yml @@ -0,0 +1,22 @@ +version: '3.3' + +services: + uptime-kuma: + image: louislam/uptime-kuma:1 + container_name: uptime-kuma + volumes: + - /opt/uptime-kuma:/app/data + ports: + - 3001:3001 + restart: always + networks: + - web + labels: + - "traefik.enable=true" + - "traefik.http.routers.bookstack.rule=Host(`uptime.3err0.ru`)" + - "traefik.http.services.bookstack.loadbalancer.server.port=80" + - "traefik.http.routers.bookstack.tls=true" + - "traefik.http.routers.bookstack.tls.certresolver=http" +networks: + web: + external: true diff --git a/wg-easy.yml b/wg-easy.yml new file mode 100644 index 0000000..e467df8 --- /dev/null +++ b/wg-easy.yml @@ -0,0 +1,30 @@ +version: "3.3" +services: + wg-easy: + environment: + - WG_HOST=wg.3err0.ru + - PASSWORD=password + # - WG_PORT=51820 + - WG_DEFAULT_ADDRESS=10.20.0.x + - WG_DEFAULT_DNS=45.90.28.77 + # - WG_MTU=1420 + # - WG_ALLOWED_IPS=192.168.15.0/24, 10.0.1.0/24 + # - WG_PRE_UP=echo "Pre Up" > /etc/wireguard/pre-up.txt + # - WG_POST_UP=echo "Post Up" > /etc/wireguard/post-up.txt + # - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt + # - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt + + image: weejewel/wg-easy + container_name: wg-easy + volumes: + - /opt/wg-easy:/etc/wireguard + ports: + - "51820:51820/udp" + - "51821:51821/tcp" + restart: unless-stopped + cap_add: + - NET_ADMIN + - SYS_MODULE + sysctls: + - net.ipv4.ip_forward=1 + - net.ipv4.conf.all.src_valid_mark=1