selfhost/Taskfile.yaml
2025-07-23 09:31:57 +02:00

65 lines
1.3 KiB
YAML

# https://taskfile.dev
version: '3'
includes:
firefoxsync: ./firefoxsync/Tasks.yaml
git: ./git/Tasks.yaml
news: ./news/Tasks.yaml
nextcloud: ./nextcloud/Tasks.yaml
proxy: ./proxy/Tasks.yaml
push: ./push/Tasks.yaml
rustdesk: ./rustdesk/Tasks.yaml
wallabag: ./wallabag/Tasks.yaml
vars:
GIT_COMMIT_HASH:
sh: git log -n 1 --format=%h
tasks:
default:
desc: List all Tasks
cmds:
- task --list-all
silent: true
git:hash:
desc: Prints current git commit hash
cmds:
- echo {{.GIT_COMMIT_HASH}}
all:pull:
desc: Pull and build all images
cmds:
- task: firefoxsync:pull
- task: git:pull
- task: news:pull
- task: nextcloud:pull
- task: proxy:pull
- task: push:pull
- task: rustdesk:pull
- task: wallabag:pull
all:up:
desc: Start all containers
cmds:
- task: proxy:up
- task: nextcloud:up
- task: firefoxsync:up
- task: git:up
- task: news:up
- task: push:up
- task: rustdesk:up
- task: wallabag:up
all:down:
desc: Stop all containers
cmds:
- task: firefoxsync:down
- task: git:down
- task: news:down
- task: push:down
- task: rustdesk:down
- task: wallabag:down
- task: nextcloud:down
- task: proxy:down