Comments (12)
I was thinking about adding a PR for this. What would you expect the resulting Docker images to be named? i.e. caddy-docker-proxy:alpine-no-telemetry
? Or would you rather move the default to no telemetry and instead caddy-docker-proxy:alpine
is with telemetry disabled and caddy-docker-proxy:alpine-telemetry
is what is currently built?
from caddy-docker-proxy.
Caddy v2 has no telemetry.
from caddy-docker-proxy.
We don't affect caddy cli flags.
I think you can just follow caddy documentation on how to disable it.
https://caddyserver.com/docs/telemetry
from caddy-docker-proxy.
https://caddyserver.com/docs/cli#disabled-metrics
from caddy-docker-proxy.
The only way to completely disable telemetry is at compile time by setting the flag enableTelemetry
to false. Would it be possible to generate a docker image with this disabled?
from caddy-docker-proxy.
Yes, I will work on it
from caddy-docker-proxy.
Or maybe just disable it for caddy-docker-proxy
based on this comment: caddyserver/caddy#2355 (comment)?
from caddy-docker-proxy.
I think we should go a bit more towards adding a cli option + env variable to disable telemetry instead of doubling the number of tags we have in docker image.
from caddy-docker-proxy.
I'm still not sure if it should be enabled or disabled by default.
@mholt Maybe you can provide some feedback about telemetry feature, will it be discontinued?
from caddy-docker-proxy.
We don't have any plans to discontinue telemetry. We might change its defaults in Caddy 2, but Caddy 2 will have a monitoring platform as well so we will have to see how that changes things!
from caddy-docker-proxy.
I know this issue was closed a while ago, but it's still coming up as a to google result.
As a workaround for docker, the telemetry url can be effectively blocked with an extra host argument of --add-host telemetry.caddyserver.com:127.0.0.1
or for docker-compose:
extra_hosts:
- "telemetry.caddyserver.com:127.0.0.1"
from caddy-docker-proxy.
Ok sorry my mistake. I used image: 'abiosoft/caddy:latest'
and assumed it was v2.
from caddy-docker-proxy.
Related Issues (20)
- Vaultwarden HOT 4
- HTTP/2 Rapid Reset : CVE-2023-44487 HOT 3
- Q: How to define global snippets? HOT 3
- How to make requests to reverse proxy inside docker network? HOT 7
- Service is not in same network as caddy in docker swarm
- Error using php_fastcgi directive: two Caddy blocks are created HOT 10
- sticky sessions HOT 3
- Caddy is not reading my labels HOT 4
- Latest version not available trough xcaddy build HOT 2
- Featurerequest in Readme: How to use basic auth? HOT 5
- Is it possible to automate reverse proxy entries? HOT 6
- Enable gzip globaly HOT 2
- How to enable brotli module HOT 1
- Issue redirecting from non-www to www or vice versa HOT 5
- crashed/stopped container results in a 308 loop (bug?) HOT 5
- does caddy-docker-proxy support 443/udp? HOT 1
- Dynamically expose additional ports without restarting Caddy or target services HOT 21
- Container tag vs build version mismatch? 2.8-alpine reports v2.7.5 HOT 2
- Removing invalid block in Caddyfile HOT 5
- Trying to use the LinuxServer Nextcloud Docker returns public IPs. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caddy-docker-proxy.