Skip to content

Commit

Permalink
rename gateway component to reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
pfandzelter committed Jun 18, 2020
1 parent db847c9 commit 045e9bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The code in this repository is licensed under the terms of the [MIT](./LICENSE)

## Instructions

To start this tinyFaaS implementation, simply build and start the management service in a Docker container. It will then create the gateway in a separate container.
To start this tinyFaaS implementation, simply build and start the management service in a Docker container. It will then create the reverse-proxy in a separate container.

To build the management service container, run:
`docker build -t tinyfaas-mgmt .`
Expand Down
4 changes: 2 additions & 2 deletions src/management-service.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

def create_endpoint(meta_container):
client = docker.from_env()
endpoint_image = client.images.build(path='./endpoint/', rm=True)[0]
endpoint_image = client.images.build(path='./reverse-proxy/', rm=True)[0]

endpoint_network = client.networks.create('endpoint-net', driver='bridge')

Expand Down Expand Up @@ -119,7 +119,7 @@ def main(args):
raise ValueError('Provided container name does not match a running container')

# create endpoint
endpoint_container = create_endpoint(meta_container)
create_endpoint(meta_container)

# accept incoming configuration requests and create handlers based on that
app = tornado.web.Application([
Expand Down

0 comments on commit 045e9bd

Please sign in to comment.