Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/binocarlos/kaispowertools

Power tools for me!
https://github.com/binocarlos/kaispowertools

Last synced: 11 days ago
JSON representation

Power tools for me!

Awesome Lists containing this project

README

        

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.

```bash
$ GIT_NAME="Kai Davenport" GIT_EMAIL="[email protected]" make gitconfig
```

## docker

Build image:

```bash
$ cd kaispowertools
$ docker build -t devbox .
```

Run dev container (replace mount points to customize):

```bash
$ 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)