❔ Docker image to provide configuration
I'm hosting my c# application on vps, not in azure, aws or other.
So i want to have some web application, container which i can use to configure my server in real time, any suggestions?
23 Replies
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
i want some website where can i edit at runtime that now configuration X has value Y, so
IMonitorOptions<MyOptions>
( don't remember exact interface ) can listen for this change and update itself
don't want to use sql server or other simillar tools to store configurationUnknown User•15mo ago
Message Not Public
Sign In & Join Server To View
hmm
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
maybe if there is no tool like this, maybe i could use redis?
it has some web panel i can use
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
that's what i want, but outside azure
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
https://dogabariscakmak.medium.com/net-core-ioptions-with-redis-backplane-1ee7f9c26619 maybe i could use it
Medium
.Net Core IOptions with Redis Backplane
Implement a custom configuration provider with Redis and get instant updates with IOptionsMonitor.
or, code my own solution
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
and yes, i could use json hot reload... maybe
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
so when i want different configuration, i could even swap files?
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
i'm running it in docker compose on vps
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
do
IOptionsMonitor
and json are smart enough to hotreload changed sections only?Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
i will use it until i code my own solution
or maybe, let's later code public docker container to do it
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.