1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00
* Huginn recipe WIP

* Add Huginn recipe
This commit is contained in:
David Young
2017-08-09 22:29:30 +12:00
committed by GitHub
parent 8a1eb6defc
commit 12b206d164
7 changed files with 249 additions and 25 deletions

View File

@@ -2,7 +2,20 @@
Our HA platform design relies on Atomic OS, which only contains bare minimum elements to run containers.
So how can we use git on this system, to push/pull the changes we make to config files?
So how can we use git on this system, to push/pull the changes we make to config files? With a container, of course!
## git-docker
I [made a simple container](https://github.com/funkypenguin/git-docker/blob/master/Dockerfile) which just basically executes git in the CWD:
To use it transparently, add an alias for the "git" command:
```
alias git='docker run -v $PWD:/var/data -v \
/var/data/git-docker/data:/root funkypenguin/git-docker git'
```
## Limitations
docker run -v /var/data/git-docker/data:/root funkypenguin/git-docker ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519
Generating public/private ed25519 key pair.
@@ -24,6 +37,3 @@ The key's randomart image is:
|...=OX+.+. |
+----[SHA256]-----+
[root@ds3 data]#
alias git='docker run -v $PWD:/var/data -v /var/data/git-docker/data:/root funkypenguin/git-docker git'

View File

@@ -10,3 +10,4 @@ Network | Range
[Wekan](https://geek-cookbook.funkypenguin.co.nz/recipies/wekan/) | 172.16.3.0/24
[Piwik](https://geek-cookbook.funkypenguin.co.nz/recipies/piwki/) | 172.16.4.0/24
[Tiny Tiny RSS](https://geek-cookbook.funkypenguin.co.nz/recipies/tiny-tiny-rss/) | 172.16.5.0/24
[Huginn](https://geek-cookbook.funkypenguin.co.nz/recipies/huginn/) | 172.16.6.0/24