Tools and tips that make my day better.
export TERM=xterm
apt-get update -yq && apt-get install -yq mc vim htop
# dvc <name> <volume> <rights> <user> <group>
dvc () { docker run -v "$2" --name "$1" sheldonh/dvc "$2:$3:$4:$5"; }
containers: | |
# Proxy makes all services available on single HTTP port so you can map all | |
# hostnames to localhost ie.: 127.0.0.1 | |
# If you are working on multiple projects you will need just one instance | |
proxy: | |
image: jwilder/nginx-proxy | |
run: | |
detach: true | |
publish: | |
- 80:80 | |
volume: | |
- /var/run/docker.sock:/tmp/docker.sock | |
# Apt handles caching of packages so sequential runs are faster and uses | |
# less bandwidth | |
apt-cache-ng: | |
image: apt-cacher-ng | |
run: | |
detach: true |