mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 17:00:40 +02:00
configure envs
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
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}') $@
|
||||
}
|
||||
|
||||
# ===========================================================================
|
||||
# Configure
|
||||
|
||||
# disable unused services
|
||||
chmod -x baikal/docker-compose.baikal.yml
|
||||
chmod -x posteio/docker-compose.posteio.yml
|
||||
chmod -x netdata/docker-compose.netdata.yml
|
||||
chmod -x photo/docker-compose.pigallery.yml
|
||||
|
||||
# local testing
|
||||
chmod -x traefik/docker-compose.traefik.yml
|
||||
Reference in New Issue
Block a user