first commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
proxy:
|
||||
build: .
|
||||
image: proxy-manager:latest
|
||||
container_name: proxy-manager
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
HTTP_PROXY_PORT: 3128
|
||||
SOCKS_PORT: 1080
|
||||
WEB_PORT: 8080
|
||||
SOCKS_UDP_PORTS: 10800-10819
|
||||
FORWARD_PORTS: 40000-40019
|
||||
volumes:
|
||||
- ./data:/data # Bind Mount: Datenbank (Benutzer, Regeln, Verlauf)
|
||||
ports:
|
||||
- "${HTTP_PORT_HOST:-3128}:3128" # HTTP/HTTPS-Proxy (versteht auch SOCKS5)
|
||||
- "${SOCKS_PORT_HOST:-1080}:1080" # SOCKS5 (versteht auch HTTP)
|
||||
- "${WEB_PORT_HOST:-8080}:8080" # WebUI + API
|
||||
- "10800-10819:10800-10819/udp" # SOCKS5 UDP ASSOCIATE
|
||||
- "40000-40019:40000-40019/tcp" # Portweiterleitungen TCP
|
||||
- "40000-40019:40000-40019/udp" # Portweiterleitungen UDP (z. B. WireGuard)
|
||||
# Alternative: Host-Netzwerk, dann sind alle Weiterleitungs-Ports ohne Mapping nutzbar.
|
||||
# Dazu "ports:" entfernen und folgende Zeile aktivieren:
|
||||
# network_mode: host
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
Reference in New Issue
Block a user