* - Extend stack to include a test function
* - Allow _ char in routes
* - Let Dockerfile shrink by coming from alpine

* Update build.sh

* Document stack deploy

* Update README.md

* fix port in README (#3)
This commit is contained in:
Alex Ellis
2017-01-09 20:02:18 +00:00
committed by GitHub
parent fe9ada50bd
commit f944b088be
5 changed files with 57 additions and 11 deletions

View File

@ -11,10 +11,10 @@ cp ./fwatchdog ../sample-functions/catservice/
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
-t alexellis2/faas-catservice .
docker service rm catservice ; docker service create --network=functions --name catservice alexellis2/faas-catservice
#docker service rm catservice ; docker service create --network=functions --name catservice alexellis2/faas-catservice
cd ..
cd gateway
./build.sh
docker rm -f server; docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name server -p 8080:8080 --network=functions alexellis2/faas-gateway
# docker rm -f server; docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name server -p 8080:8080 --network=functions alexellis2/faas-gateway