mirror of
https://github.com/openfaas/faas.git
synced 2025-06-13 18:56:46 +00:00
Simplify --advertise-addr for PWD
This commit is contained in:
parent
a63dd8ee4c
commit
29b624d1b1
@ -15,7 +15,7 @@ The guide makes use of a free testing/cloud service, but if you want to try it o
|
||||
This one-shot script clones the code, initialises Docker swarm mode and then deploys the FaaS sample stack.
|
||||
|
||||
```
|
||||
# docker swarm init --advertise-addr=$(ifconfig eth0| grep 'inet addr:'| cut -d: -f2 | awk '{ print $1}') && \
|
||||
# docker swarm init --advertise-addr eth0 && \
|
||||
git clone https://github.com/alexellis/faas && \
|
||||
cd faas && \
|
||||
./deploy_stack.sh && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user