Compare commits
1 Commits
7eb63a921c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b1525f2c9 |
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user