21 lines
		
	
	
		
			455 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			455 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #this file is the script
 | |
| #   Cron will trigger once a week
 | |
| 
 | |
| #You will find the crontab in the VM where the Containers will run 
 | |
| #   in /tmp/crontab...
 | |
| #   remember to put all full paths in crontab and make it runnable with chmod +x
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| #build and start all containers
 | |
| docker compose build --no-cache
 | |
| docker compose up -d
 | |
| 
 | |
| 
 | |
| 
 | |
| #docker stop of containers that only run for containers that already stopped
 | |
| #e.g. dobby and selenium
 | |
| bash statusAndStopScript.sh
 | |
| 
 |