My day job is Technical Team Lead at Safespring. I’m also a co-organiser of Devopsdays Oslo and Devopsdays Stockholm. Sometimes I go to other conferences.
I live in Norway.
My day job is Technical Team Lead at Safespring. I’m also a co-organiser of Devopsdays Oslo and Devopsdays Stockholm. Sometimes I go to other conferences.
I live in Norway.
How to manage dotfiles in a bare git-repo
How to set up:
Initialize an empty git repo in a folder in $HOME
:
|
|
Now we want to set up an alias for git to work on this repo:
|
|
We want to hide untraced files, so we explicitly choose which files to track:
|
|
Make config persistent, I use zsh, so I add the alias to .zshrc
|
|
now its time to add a few existing config files to the repo:
|
|
I created a github repo and pushed my config to github:
|
|
Now, time to check out my config on another machine. First, checkout the repo using the --bare
option
|
|
Define the config-alias
|
|
And last: Check out the repo
|
|
This is how I made pihole run in a docker container with ipv6 support.
Step one: Configure docker for ipv›6:
|
|
then we need to create a ipv6 network for docker:
|
|
restart docker
|
|
I use docker-compose to manage the container, so I added the following to docker-compose.yml
|
|
and choose the ipv6 network:
|
|
rebuild the docker container:
|
|
And voila! The pihole instance should now come up with an valid ipv6 address - and should respond to DNS queries on the ipv6 interface.