Document rough and dirty method to pull stack
Some checks are pending
Stacks CICD / Setup (push) Waiting to run
Some checks are pending
Stacks CICD / Setup (push) Waiting to run
This commit is contained in:
parent
f3686ae3ad
commit
69e6e23ca3
20
homelab/stacks/README.md
Normal file
20
homelab/stacks/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# Stacks: Atomic Services using Docker Compose
|
||||
|
||||
|
||||
### Get a Stack (from source with Git)
|
||||
```sh
|
||||
STACK=ai
|
||||
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/$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.
|
||||
|
Loading…
Reference in New Issue
Block a user