Split volumes and add backup (WIP)

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2024-05-05 22:38:14 +02:00
parent 5e3b93ac20
commit 2eaaf1f936
9 changed files with 87 additions and 46 deletions

@ -13,7 +13,7 @@
DOCKER := docker
PROFILES := webserver wordpress adminer uptime-kuma portainer qbittorrent gitea jellyfin watchtower
PROFILES := webserver wordpress adminer uptime-kuma portainer qbittorrent gitea jellyfin watchtower backup
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /')
@ -56,11 +56,14 @@ state:
docker compose $(COMPOSE_FILES) ps
docker compose $(COMPOSE_FILES) top
.PHONY: update
update:
.PHONY: update-docker
update-docker:
docker compose $(COMPOSE_FILES) $(PROFILE_CMD) pull
git submodule update --init --recursive --remote
git pull --recurse-submodules --all --progress
.PHONY: update
update: update-docker
# git submodule update --init --recursive --remote
# git pull --recurse-submodules --all --progress
.PHONY: clean
clean: