Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating port to 5111 #15

Merged
merged 1 commit into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion artifacts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ ENV FIGGY_KEYRING_PASSWORD=$FIGGY_KEYRING_PASSWORD
# Hydrates a cache across all 90 Integrated Role/Account/Region combinations. Makes the ui snappier :)
RUN figgy config build-cache

EXPOSE 5000
EXPOSE 5111
ENTRYPOINT ["figgy"]
CMD ["ui"]
2 changes: 1 addition & 1 deletion src/figcli/commands/config/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def execute(self):
app = App(self.context, self._session_mgr)
app.run()
self._out.success_h2("Loading Figgy UI")
webbrowser.open("http://localhost:5000/")
webbrowser.open("http://localhost:5111/")
# Wait for Ctrl C to exit...
while True:
time.sleep(1)
Expand Down
2 changes: 1 addition & 1 deletion src/figcli/ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def init_controllers(self):
def run_app(self):
self.app.add_url_rule('/', 'index', self._goto_index, methods=['GET'])
# Todo set back to 127.0.0.1 after docker demos.
self.app.run(host='0.0.0.0', port=5000, debug=False)
self.app.run(host='0.0.0.0', port=5111, debug=False)

def _goto_index(self):
return self._serve_page("index.html")
Expand Down