Commit graph libervia-backend/sat/plugins/plugin_app_manager_docker
Author SHA1 Message Date
Goffi
6ad9431678 plugin app manager: start doesn't wait anymore for actual app start:
Application may be long to start (e.g. a Docker app may have to download images first,
and even without the downloading, the starting could be long), which may lead to UI
blocking or bridge time out.

To prevent that, `start` is now returning immediately, and 2 new signals are used to
indicate when the application is started, of if something wrong happened.

`start` now returns initial app data, including exposed data without the computed exposed
data. The computed data must be retrieved after the app has been started.
2023-03-04 18:30:47 +01:00
Goffi
8d8541015c app manager (docker/weblate): add WEBLATE_ENABLE_HTTPS:
The value can be set in `libervia.conf` with `weblate_enable_https`. It defaults to "1".
2021-06-14 12:19:21 +02:00
Goffi
46b643fc59 app manager (docker/weblate): use new files feature to set settings-override.py:
This file is used to set `USE_X_FORWARDED_HOST`, which is necessary to make Weblate work
correctly being an Apache (and potentially other HTTP servers) reverse proxy (otherwise we
have CSRF errors, cf.  https://github.com/WeblateOrg/weblate/issues/1912).
2021-06-12 15:14:57 +02:00
Goffi
dc86957043 date update 2021-03-19 15:45:14 +01:00
Goffi
505e93d833 plugin app manager docker: use default emails for weblate:
when `email_from` was not set in `sat.conf`, no value was set for `WEBLATE_SERVER_EMAIL`
and `WEBLATE_DEFAULT_FROM_EMAIL`. These environment variables are needed for Weblate to be
launched, so default value are now used (the same as the one from official Weblate Docker
image).
2021-01-15 11:27:15 +01:00
Goffi
a3be4ed11d plugin app manager docker: typo 2020-10-20 09:12:38 +02:00
Goffi
e91cd1cc66 plugin app manager docker: weblate SàT app file for Docker 2020-09-28 21:10:33 +02:00
Goffi
e08be7f855 plugin app managed docker: handle Docker application with App Manager 2020-09-28 21:10:33 +02:00