1 Commits

Author SHA1 Message Date
Eduardo David Paredes Vara
8b1525f2c9 wireguard torrent 2026-04-05 23:54:10 +00:00

View File

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