Add init and update script
This commit is contained in:
		
							parent
							
								
									3cd72ed641
								
							
						
					
					
						commit
						f1584b258b
					
				|  | @ -1,3 +1,7 @@ | |||
| #!/bin/bash | ||||
| 
 | ||||
| touch /opt/traefik/acme.json && chmod 600 /opt/traefik/acme.json | ||||
| cp .env.sample .env | ||||
| cp tunnel-options.sh.sample tunnel-options.sh | ||||
| echo "Please edit .env file and tunnel-options.sh" | ||||
| exit 0 | ||||
|  | @ -0,0 +1,8 @@ | |||
| #!/bin/bash | ||||
| 
 | ||||
| echo "Pulling all images..." | ||||
| docker-compose pull | ||||
| echo "Recreating containers if required..." | ||||
| docker-compose up -d | ||||
| echo "Done." | ||||
| exit 0 | ||||
		Loading…
	
		Reference in New Issue