parent
							
								
									ee170666ec
								
							
						
					
					
						commit
						19f0bd8302
					
				
							
								
								
									
										42
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										42
									
								
								README.md
									
									
									
									
									
								
							| @ -76,39 +76,49 @@ Put your SSL certificate as `./volumes/web/cert/cert.pem` and the private key th | |||||||
| no password as `./volumes/web/cert/key-no-password.pem`. If you don't have | no password as `./volumes/web/cert/key-no-password.pem`. If you don't have | ||||||
| them you may generate a self-signed SSL certificate. | them you may generate a self-signed SSL certificate. | ||||||
| 
 | 
 | ||||||
| ## Starting/Stopping | ### Starting/Stopping Docker | ||||||
| 
 | 
 | ||||||
| ### Start | #### Start | ||||||
| ``` | ``` | ||||||
| docker-compose start | docker-compose start | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ### Stop | #### Stop | ||||||
| ``` | ``` | ||||||
| docker-compose stop | docker-compose stop | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ### Update | ### Removing Docker | ||||||
|  | 
 | ||||||
|  | #### Remove the containers | ||||||
|  | ``` | ||||||
|  | docker-compose stop && docker-compose rm | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | #### Remove the data and settings of your Mattermost instance | ||||||
|  | ``` | ||||||
|  | sudo rm -rf volumes | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ## Update Mattermost to latest version | ||||||
|  | 
 | ||||||
|  | First, shutdown your containers to back up your data. | ||||||
| 
 | 
 | ||||||
| Make sure to backup Mattermost data before proceeding. |  | ||||||
| ``` | ``` | ||||||
| docker-compose down | docker-compose down | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | Back up your mounted volumes to save your data. If you use the default `docker-compose.yml` file proposed on this repository, your data is on `./volumes/` folder. | ||||||
|  | 
 | ||||||
|  | Then run the following commands. | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
| git pull | git pull | ||||||
| docker-compose build | docker-compose build | ||||||
| docker-compose up -d | docker-compose up -d | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ## Removing | Your Docker image should now be on the latest Mattermost version. | ||||||
| 
 |  | ||||||
| ### Remove the containers |  | ||||||
| ``` |  | ||||||
| docker-compose stop && docker-compose rm |  | ||||||
| ``` |  | ||||||
| 
 |  | ||||||
| ### Remove the data and settings of your Mattermost instance |  | ||||||
| ``` |  | ||||||
| sudo rm -rf volumes |  | ||||||
| ``` |  | ||||||
| 
 | 
 | ||||||
| ## Upgrading to Team Edition 3.0.x from 2.x | ## Upgrading to Team Edition 3.0.x from 2.x | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jason Blais
						Jason Blais