amir20 / dozzle

Realtime log viewer for docker containers.
https://dozzle.dev/
MIT License
6.15k stars 308 forks source link

Add enviroment variables to override Display and Option default values #3146

Closed meta3ark closed 3 months ago

meta3ark commented 3 months ago

Describe the feature you would like to see

Most of the container logs I inspect already include timestamps to 1ms accuracy. I would like to change the default "Show Timestamps" flag to be off via an ENV argument like DOZZLE_DISPLAY_SHOW_TIMESTAMPS.

Changing "Show stopped containers" default value would also be useful.

Describe how you would like to see this feature implemented

No response

Describe any alternatives you've considered

No response

amir20 commented 3 months ago

This is something that was discussed in the past. It's actually pretty difficult to pass env variables.

If you use authentication then all your settings will be sticky across browsers. That is ultimately be a better solution.

I am not a fan of adding ENV variables for everything. It's hard to manage.