mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-11-11 00:05:13 +01:00
Useless => moved to dotfiles mngt (chezmoi)
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user