dirkhh / adsb-feeder-image

Easy to use turn-key SD card image for a number of popular single board computers to run a complete ADS-B feeder
https://adsb.im/home
GNU General Public License v3.0
99 stars 11 forks source link

data sharing: docker compose if "request key" is used in UI #197

Closed wiedehopf closed 1 month ago

wiedehopf commented 1 month ago

If the user requests a key on the data sharing page and that request is successful, the key is saved to the configuration but the settings aren't applied until the user clicks 'i'm done here'.

Fix that by setting seen_go whenever a key is requested. When saving values to the configuration, those values should also be applied via docker compose.

wiedehopf commented 1 month ago

I don't see the point of restarting things for no reason.

I'm very much a fan of restarting things once they are saved to config.json so the state of the configuration and the container state is kept in sync. This is just what people expect. "Why isn't it running, it's selected in the webinterface?"