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

Prometheus: Network "caddy_internal_net" is declared as external, but could not be found. #18

Closed
d-rez opened this issue Apr 15, 2020 · 1 comment

Comments

@d-rez
Copy link

d-rez commented Apr 15, 2020

Hi there!

Seems like a recent commit cfd4e20 breaks prometheus stack deployment

When I try to deploy it I'm getting

http error: network "caddy_internal_net" is declared as external, but could not be found. You need to create a swarm-scoped network before the stack is deployed

and deployment fails

@d-rez d-rez changed the title Network "caddy_internal_net" is declared as external, but could not be found. Prometheus: Network "caddy_internal_net" is declared as external, but could not be found. Apr 15, 2020
@jmb12686
Copy link
Owner

@d-rez , I ended up proxying all traffic behind a Caddy reverse proxy. If you see the caddy/ directory at the root of this project, that network is defined and created there. To utilize the latest version of the monitoring stack, you must first deploy the caddy stack. If you do not wish to utilize caddy for reverse proxy, just use the code from the last commit.

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

2 participants