Jafner.net/homelab/stacks
Joey Hafner 90ea1eec67
Some checks are pending
Stacks CICD / Setup (push) Waiting to run
Fix typo
2024-09-02 14:39:36 -07:00
..
ai Move local ai to Stack 2024-08-27 21:48:55 -07:00
books Fix typo 2024-09-02 14:39:36 -07:00
gitea-runner Switch from ..._TOKEN_FILE to ..._TOKEN 2024-08-29 20:30:16 -07:00
send Move send to stack 2024-08-28 12:14:19 -07:00
deploy.sh Create stacks folder 2024-09-02 13:30:25 -07:00
README.md Polish directory usage in slapdash Stack pull commands 2024-08-28 13:15:09 -07:00

Stacks: Atomic Services using Docker Compose

Get a Stack (from source with Git)

STACK=ai
mkdir -p $HOME/stacks/$STACK
git clone -n --depth=1 --filter=tree:0 https://gitea.jafner.tools/Jafner/Jafner.net.git /tmp/repo
cd /tmp/repo
git sparse-checkout set --no-cone homelab/stacks/$STACK
git checkout
mv homelab/stacks/$STACK $HOME/stacks/
cd $HOME/stacks/$STACK
rm -rf /tmp/repo

This will clone the stack from the repo into a tmp directory, extract the stack to ~/stacks/$STACK, and then delete the temp clone.

  • This does not decrypt secrets.
  • This does not bring up the stack.
  • This does require Git.