Merge branch 'Makefile-docker-run-proxy' into 'master'

Added -e NO_PROXY and -e HTTP_PROXY to docker-run to fix docker failure to connect to host unix.sock

See merge request !52
This commit is contained in:
Reed Allman
2017-06-13 11:24:34 -07:00

View File

@@ -32,7 +32,7 @@ docker-build:
docker build --build-arg HTTP_PROXY -t treeder/functions:latest .
docker-run: docker-build
docker run --rm --privileged -it -e LOG_LEVEL=debug -e "DB_URL=bolt:///app/data/bolt.db" -v ${CURDIR}/data:/app/data -p 8080:8080 treeder/functions
docker run --rm --privileged -it -e NO_PROXY -e HTTP_PROXY -e LOG_LEVEL=debug -e "DB_URL=bolt:///app/data/bolt.db" -v ${CURDIR}/data:/app/data -p 8080:8080 treeder/functions
docker-test:
docker run -ti --privileged --rm -e LOG_LEVEL=debug \