From 4d4901b72c47d692d1e8ef3dbddc9d1c14cb2049 Mon Sep 17 00:00:00 2001 From: Gaxinto Theodorio Date: Tue, 6 May 2025 22:26:04 -0400 Subject: [PATCH] feat: add service order file and update olivetin config to use it --- olivetin/config.yaml | 16 ++++++++++++++++ service_order.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 service_order.txt diff --git a/olivetin/config.yaml b/olivetin/config.yaml index 35f927e..34e1bde 100644 --- a/olivetin/config.yaml +++ b/olivetin/config.yaml @@ -4,6 +4,22 @@ actions: icon: execOnCron: - "@daily" + - title: deploy all containers + shell: | + cd /home/geezo/docker_containers + while IFS= read -r dir; do + if [ -f "${dir}/docker-compose.yml" ] || [ -f "${dir}/docker-compose.yaml" ]; then + echo "Processing directory: ${dir}" + cd "${dir}" + docker compose up -d + cd .. + else + echo "Warning: No docker-compose file found in ${dir}" + fi + done < service_order.txt + icon: + execOnCron: + - "@daily" diff --git a/service_order.txt b/service_order.txt new file mode 100644 index 0000000..0982752 --- /dev/null +++ b/service_order.txt @@ -0,0 +1,26 @@ +caddy +gitea +authentik +vaultwarden +nextcloud +immich +memos +yams +beaverhabits +portainer +dockge +netbird +minio +watchtower +tubearchivist +n8n +newt +gomft +autorestic +glance +beszel +operational +hoarder +dozzle +olivetin +open-web-ui \ No newline at end of file