mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 01:20:17 +01:00 
			
		
		
		
	Support docker compose as well as docker-compose
This commit is contained in:
		@@ -63,10 +63,10 @@ case "$ACTION" in
 | 
			
		||||
		hc_send log "Bridgehead $PROJECT startup: Checking requirements ..."
 | 
			
		||||
		checkRequirements
 | 
			
		||||
		hc_send log "Bridgehead $PROJECT startup: Requirements checked out. Now starting bridgehead ..."
 | 
			
		||||
		exec docker-compose -f ./$PROJECT/docker-compose.yml $OVERRIDE up --abort-on-container-exit
 | 
			
		||||
		exec $COMPOSE -f ./$PROJECT/docker-compose.yml $OVERRIDE up --abort-on-container-exit
 | 
			
		||||
		;;
 | 
			
		||||
	stop)
 | 
			
		||||
		exec docker-compose -f ./$PROJECT/docker-compose.yml $OVERRIDE down
 | 
			
		||||
		exec $COMPOSE -f ./$PROJECT/docker-compose.yml $OVERRIDE down
 | 
			
		||||
		;;
 | 
			
		||||
	update)
 | 
			
		||||
		exec ./lib/update-bridgehead.sh $PROJECT
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user