mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 12:26:29 +00:00
Initial pop-up for new function.
This commit is contained in:
11
contrib/HACK.md
Normal file
11
contrib/HACK.md
Normal file
@ -0,0 +1,11 @@
|
||||
## Hack on the UI for the API Gateway
|
||||
|
||||
To hack on the UI without rebuilding the gateway mount the assets in a bind-mount like this:
|
||||
|
||||
```
|
||||
$ docker network create func_functions --driver=overlay --attachable=true
|
||||
$ docker run -v `pwd`/gateway/assets:/root/assets -v "/var/run/docker.sock:/var/run/docker.sock" \
|
||||
-p 8080:8080 --network=func_functions -ti alexellis2/faas-gateway:latest-dev
|
||||
```
|
||||
|
||||
Then edit `docker-compose.yml` to use an external network and do a `./deploy_stack.sh`.
|
Reference in New Issue
Block a user