ソースを参照

vlan torproxy

larry 4 年 前
コミット
ba5f03227d
4 ファイル変更32 行追加2 行削除
  1. 2 2
      calibre/docker-compose.yml
  2. 4 0
      torproxy2/.env
  3. 6 0
      torproxy2/dnet.sh
  4. 20 0
      torproxy2/docker-compose.yml

+ 2 - 2
calibre/docker-compose.yml

@@ -1,7 +1,7 @@
 version: "2.1"
 services:
   calibre-web:
-    image: ghcr.io/linuxserver/calibre-web
+    image: ghcr.io/linuxserver/calibre-web:0.6.12-ls128
     container_name: ${CALIBRE_WEB_NAME}
     environment:
       - PUID=1000
@@ -18,7 +18,7 @@ services:
     restart: "no"
 
   calibre:
-    image: ghcr.io/linuxserver/calibre
+    image: ghcr.io/linuxserver/calibre:v5.24.0-ls123
     container_name: ${CALIBRE_NAME}
     environment:
       - PUID=1000

+ 4 - 0
torproxy2/.env

@@ -0,0 +1,4 @@
+CONTAINER_NAME=torproxy6
+BW=50
+TZ=EST5EDT
+

+ 6 - 0
torproxy2/dnet.sh

@@ -0,0 +1,6 @@
+#!/bin/sh
+
+docker network create -d ipvlan \
+  --subnet=192.168.6.0/24 \
+  --gateway=192.168.6.1 \
+  -o parent=eno1.6 ipvlan6

+ 20 - 0
torproxy2/docker-compose.yml

@@ -0,0 +1,20 @@
+version: "2.1"
+services:
+ 
+ httpd:
+    image: dperson/torproxy 
+    container_name: ${CONTAINER_NAME} 
+#    ports:
+#      - 8118:8118
+#      - 9051:9050
+    environment:
+      - TZ:${TZ}
+      - BW:${BW}    
+    restart: "no" 
+    networks:
+      - webnet
+
+networks: 
+  webnet:
+    external:
+      name: ipvlan6