Browse Source

Update docker-compose.yml

pull/549/head
Peter Lewis 2 years ago
committed by GitHub
parent
commit
be17a8b688
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      docker-compose.yml

7
docker-compose.yml

@ -1,4 +1,7 @@
version: "3.8" version: "3.8"
volumes:
etc_wireguard:
services: services:
wg-easy: wg-easy:
environment: environment:
@ -18,10 +21,10 @@ services:
# - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt # - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt
# - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt # - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt
image: weejewel/wg-easy image: peterlewis/wg-easy
container_name: wg-easy container_name: wg-easy
volumes: volumes:
- .:/etc/wireguard - etc_wireguard:/etc/wireguard
ports: ports:
- "51820:51820/udp" - "51820:51820/udp"
- "51821:51821/tcp" - "51821:51821/tcp"

Loading…
Cancel
Save