Skip to content

Commit

Permalink
docs: add faas ports manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Aug 6, 2024
1 parent 22ccd2d commit 36a59c9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/commands/faas/faas_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@ class FaaSStart(Command):
Since the function needs to communicate with databases, you need to run db start to establish this communication. Upon the first execution of the function, it might take a little longer as it needs to fetch the specified version and set everything up for you. Subsequent initializations will be faster unless you change the version, which will require the same process again to set everything up.
.B
Ensure that the following ports are open:
.IP \[bu] 2
Port 8080: For the function
.IP \[bu] 2
Port 8081: For fmetrica
.IP \[bu] 2
Port 5000: For the watchdog
After starting the function, you will receive a message on the screen with the function version and the port on which the function is being executed.
.SH EXAMPLES
Expand Down

0 comments on commit 36a59c9

Please sign in to comment.