Browse Source

Bugfix: differnt Ports usage

pull/973/head
Philip H 1 year ago
parent
commit
f9daa3e5be
  1. 6
      Dockerfile
  2. 2
      README.md
  3. 1
      docker-compose.yml

6
Dockerfile

@ -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

2
README.md

@ -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 \

1
docker-compose.yml

@ -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…
Cancel
Save