mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
13 lines
471 B
Bash
Executable File
13 lines
471 B
Bash
Executable File
#!/bin/bash
|
|
|
|
docker network create --driver overlay --attachable functions
|
|
git clone https://github.com/alexellis/faas && cd faas
|
|
cd watchdog
|
|
./build.sh
|
|
docker build -t catservice .
|
|
docker service rm catservice ; docker service create --network=functions --name catservice catservice
|
|
cd ..
|
|
cd gateway
|
|
docker build -t server . ;docker rm -f server; docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name server -p 8080:8080 --network=functions server
|
|
|