Fixed wrong compose + added WG_PORT
This commit is contained in:
		@@ -81,8 +81,6 @@ Paste the following configuration:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
volumes:
 | 
					 | 
				
			||||||
  etc_wireguard:
 | 
					 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
  wg-easy:
 | 
					  wg-easy:
 | 
				
			||||||
    network_mode: host
 | 
					    network_mode: host
 | 
				
			||||||
@@ -109,7 +107,9 @@ services:
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
::alert{type="success"}
 | 
					::alert{type="success"}
 | 
				
			||||||
✨ __Tip:__ Add the Watchtower label to enable automatic updates
 | 
					✨ __Tip:__
 | 
				
			||||||
 | 
					- You can also specify your own wireguard port with `WG_PORT`
 | 
				
			||||||
 | 
					- Add the Watchtower label to enable automatic updates
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
services
 | 
					services
 | 
				
			||||||
@@ -249,7 +249,6 @@ sudo docker compose up -d
 | 
				
			|||||||
::alert{type="warning"}
 | 
					::alert{type="warning"}
 | 
				
			||||||
:::list{type="warning"}
 | 
					:::list{type="warning"}
 | 
				
			||||||
- __Warning:__ If a client device is on the same LAN as the server, edit `wg0.conf` and change the endpoint to the local server IP:
 | 
					- __Warning:__ If a client device is on the same LAN as the server, edit `wg0.conf` and change the endpoint to the local server IP:
 | 
				
			||||||
 | 
					 | 
				
			||||||
`Endpoint = your-server-ip:51820`
 | 
					`Endpoint = your-server-ip:51820`
 | 
				
			||||||
:::
 | 
					:::
 | 
				
			||||||
::
 | 
					::
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user