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

Is it possible to call the portainer agent from my own scripts? #181

Open
traverseda opened this issue Mar 25, 2021 · 0 comments
Open

Is it possible to call the portainer agent from my own scripts? #181

traverseda opened this issue Mar 25, 2021 · 0 comments

Comments

@traverseda
Copy link

I would like to use python to generate configs for an entire docker swarm. Unfortunately even with AGENT_SECRET I can't figure out how to query the agent end points.

This would be used for generating swarm-wide nginx reverse proxy configs, similar to docker flow proxy, but would be generating from templates stored in the swarm's configs.

In order to do this I need access to the full list of containers on all swarm nodes, and I figure portainer agent is already doing that quite well.

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

No branches or pull requests

1 participant