Useless => moved to dotfiles mngt (chezmoi)
This commit is contained in:
		
							parent
							
								
									100f406117
								
							
						
					
					
						commit
						0dfeb4bfcf
					
				
					 1 changed files with 0 additions and 15 deletions
				
			
		
							
								
								
									
										15
									
								
								configure
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								configure
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -1,15 +0,0 @@
 | 
				
			||||||
#!/bin/bash
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# ===========================================================================
 | 
					 | 
				
			||||||
#  Aliases
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# override docker-compose
 | 
					 | 
				
			||||||
#   non executable YAML files are skipped (aka disabled services)
 | 
					 | 
				
			||||||
export DOCKER_COMPOSE_BIN='/usr/local/bin/docker-compose'
 | 
					 | 
				
			||||||
docker-compose ()
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    $DOCKER_COMPOSE_BIN $(find -name 'docker-compose*.yml' -type f -perm -u+x -printf '%p\t%d\n'  2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') $@
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
alias up='docker-compose --env-file /srv/selfhosting/.env up -d'
 | 
					 | 
				
			||||||
alias down='docker-compose --env-file /srv/selfhosting/.env down'
 | 
					 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue