wireguard torrent
This commit is contained in:
@@ -17,22 +17,19 @@ services:
|
||||
WG_HOST: ${WG_HOST}
|
||||
WG_PORT: ${WG_PORT}
|
||||
PORT: ${WG_UI_PORT}
|
||||
|
||||
# Arranque desatendido (solo si el volumen está vacío)
|
||||
INIT_ENABLED: ${INIT_ENABLED}
|
||||
INIT_USERNAME: ${INIT_USERNAME}
|
||||
INIT_PASSWORD: ${INIT_PASSWORD}
|
||||
|
||||
# Evita reglas ip6tables (tabla nat inexistente en el host)
|
||||
DISABLE_IPV6: ${DISABLE_IPV6}
|
||||
|
||||
volumes:
|
||||
- /opt/wg-easy:/etc/wireguard:Z
|
||||
- /lib/modules:/lib/modules:ro,Z
|
||||
|
||||
# Puerto UDP de WireGuard expuesto al mundo
|
||||
ports:
|
||||
- "${WG_UDP_PORT}:${WG_PORT}/udp"
|
||||
- "${TORRENT_PORT}:${TORRENT_PORT}/tcp"
|
||||
- "${TORRENT_PORT}:${TORRENT_PORT}/udp"
|
||||
|
||||
networks:
|
||||
- proxy
|
||||
@@ -43,3 +40,4 @@ services:
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user