Bugfix: differnt Ports usage
This commit is contained in:
parent
c2482f494a
commit
f9daa3e5be
|
@ -40,9 +40,9 @@ RUN apk add --no-cache \
|
|||
# Use iptables-legacy
|
||||
RUN update-alternatives --install /sbin/iptables iptables /sbin/iptables-legacy 10 --slave /sbin/iptables-restore iptables-restore /sbin/iptables-legacy-restore --slave /sbin/iptables-save iptables-save /sbin/iptables-legacy-save
|
||||
|
||||
# Expose Ports
|
||||
EXPOSE 51820/udp
|
||||
EXPOSE 51821/tcp
|
||||
# Expose Ports (If needed on buildtime)
|
||||
#EXPOSE 51820/udp
|
||||
#EXPOSE 51821/tcp
|
||||
|
||||
# Set Environment
|
||||
ENV DEBUG=Server,WireGuard
|
||||
|
|
|
@ -53,6 +53,8 @@ To automatically install & run wg-easy, simply run:
|
|||
-e LANG=de \
|
||||
-e WG_HOST=<b>🚨YOUR_SERVER_IP</b> \
|
||||
-e PASSWORD=<b>🚨YOUR_ADMIN_PASSWORD</b> \
|
||||
-e PORT=51821 \
|
||||
-e WG_PORT=51820 \
|
||||
-v ~/.wg-easy:/etc/wireguard \
|
||||
-p 51820:51820/udp \
|
||||
-p 51821:51821/tcp \
|
||||
|
|
|
@ -14,6 +14,7 @@ services:
|
|||
|
||||
# Optional:
|
||||
# - PASSWORD=foobar123
|
||||
# - PORT=51821
|
||||
# - WG_PORT=51820
|
||||
# - WG_DEFAULT_ADDRESS=10.8.0.x
|
||||
# - WG_DEFAULT_DNS=1.1.1.1
|
||||
|
|
Loading…
Reference in New Issue