Skip to content

binocarlos/kaispowertools

Repository files navigation

kaispowertools

This repo is totally for me and so I fragrantly litter my opinions throughout.

setup

When running the docker container the $HOME folder is mounted as a volunme.

As a result, ssh hosts and git are configured normally on the host.

$ GIT_NAME="Kai Davenport" GIT_EMAIL="kaiyadavenport@gmail.com" make gitconfig

docker

Build image:

$ cd kaispowertools
$ docker build -t devbox .

Run dev container (replace mount points to customize):

$ docker run -ti --rm \
    -v /home/kai/projects:/srv/projects:ro \
    -v /home/kai:/root:ro \
    -v /usr/bin/docker:/usr/bin/docker \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 80:80 \
    devbox

port forward ssl

You must run vagrant as root to map the SSL port into the vagrant guest.

To avoid this - run vagrant normally and then (as root from host machine):

$ sudo make sslbridge

This maps 443 -> 4443 (which is port forwarded to the vagrant guest)

About

Power tools for me!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published