Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

get_all_appointments in docker for Mac and Windows #153

Open
sr-gi opened this issue Jun 9, 2020 · 1 comment
Open

get_all_appointments in docker for Mac and Windows #153

sr-gi opened this issue Jun 9, 2020 · 1 comment

Comments

@sr-gi
Copy link
Member

sr-gi commented Jun 9, 2020

Given that a docker container cannot be run on Mac and Windows using network=host, requests to get_all_appointments are rejected by the tower.

get_all_appointemnts is an admin only command that is used to check the state of the tower and therefore, can only be called from localhost.

Not sure if it is worth finding an alternative solution to this. The admin can always log into the container to run this since it is not a command you'll use often. Also, #148 is being developed to get a way better report about the state of the tower, so it may be worth removing this command once it is merged.

@sr-gi sr-gi added this to the v0.2.0 milestone Sep 14, 2020
@sr-gi
Copy link
Member Author

sr-gi commented Sep 24, 2020

get_all_appointments can now be called via docker exec since teos_cli is a command line tool.

However, RPCs cannot be called from the outside from the same exact reason as before. We will need to look into that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant