Skip to content

Commit

Permalink
Merge pull request #2 from singnet/fix/docker-commands
Browse files Browse the repository at this point in the history
added docker comands to deploy openfaas functions
  • Loading branch information
levisingularity authored Aug 17, 2023
2 parents f7b3a35 + 945564c commit 0f83185
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ sudo cat /var/lib/faasd/secrets/basic-auth-password
faas-cli login -u admin -p password
```

copy the docker config auth to faas config auth:
```
sudo cp ~/.docker/config.json /var/lib/faasd/.docker/config.json
```

up functions:
```
faas-cli up -f das-function.yml
Expand Down
1 change: 1 addition & 0 deletions install-openfaas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set -ex
git clone https://github.com/openfaas/faasd --depth=1
cd faasd
./hack/install.sh
mkdir -p /var/lib/faasd/.docker/
EOF

chmod +x install-openfaas.sh
Expand Down

0 comments on commit 0f83185

Please sign in to comment.