forked from mirrors/amnezia-wg-easy
		
	Use one command for updating with Docker Compose
`README.md` was updated to use a one-liner to update WireGuard Easy with Docker Compose. A note about image tag was added to avoid confusion when one is specified in Compose file and it is other than `latest`, as that would result in no pull and no WireGuard Easy container recreation.
This commit is contained in:
		
							parent
							
								
									62703ffbd6
								
							
						
					
					
						commit
						6c567d0082
					
				
					 1 changed files with 5 additions and 7 deletions
				
			
		
							
								
								
									
										12
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -120,13 +120,11 @@ docker pull ghcr.io/wg-easy/wg-easy
 | 
			
		|||
 | 
			
		||||
And then run the `docker run -d \ ...` command above again.
 | 
			
		||||
 | 
			
		||||
To update using Docker Compose:
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
docker compose pull
 | 
			
		||||
docker compose up --detach
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
With Docker Compose WireGuard Easy can be updated with a single command:
 | 
			
		||||
`docker compose up --detach --pull always` (if an image tag is specified in the
 | 
			
		||||
Compose file and it is not `latest`, make sure that it is changed to the desired
 | 
			
		||||
one; by default it is omitted and
 | 
			
		||||
[defaults to `latest`](https://docs.docker.com/engine/reference/run/#image-references)). \
 | 
			
		||||
The WireGuared Easy container will be automatically recreated if a newer image
 | 
			
		||||
was pulled.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue