Make remote docker daemon setup with HTTP networks easier
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 32/100
Piste de recherche
Commencez par suivre les flux Register daemon et Test Deploy, puis examinez comment OVERRIDE_APP_HOST et Docker Socket Proxy déterminent l’hôte ExApp pour les daemons HTTP et HTTPS. Identifiez les points de migration et de validation de l’UI nécessaires pour les configurations HTTP distantes. Le travail est terminé lorsque la nouvelle option, la migration, les avertissements, la vérification de la redirection et les ajustements de backport requis sont couverts.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Describe why it is important and where it will be useful
There are some specific conditions applied to the HTTP daemons in the setup of deploy daemon with docker socket proxy. In general HTTPS daemons ("Enable HTTPS" option checked) have been allowed and considered as remote deployments on remote servers with the assumption of the network in between being insecure.
This is the case for many but some setups can have the second ex-app server in the internal network itself or even in actually remote server, can have a VPN setup to facilitate secure communication.
Setting up HTTPS on the ex-app server in these cases may add a little overhead, may be secured with a self-signed certificate which would have to be trusted by the NC server, or when setting up a HTTP daemon, the issue may not present itself until the test deploy/app install phase.
The override for using the HTTP remote daemon is OVERRIDE_APP_HOST setting in the additional options menu, which is a little hidden and can also be hard to understand.
Allowing remote HTTP setups may not be that much insecure since admins can be trusted to understand their network setup (for the most part).
This only applies to Docker Socket Proxy.
Describe your proposed solution
- Introduce new additional option to indicate remote setup, that is changing the logic of how ExApp host is resolved when HTTP is used.
For this new option we need a migration to set it for existing daemons that already configured as remote (https enabled). - For the UI part of Register daemon and Test Deploy add more explicit hints on available configuration options that might help in case of heartbeat/init errors.
- Add a warning in the registration UI if the daemon is marked as a remote daemon without HTTPS.
- For Test deploy add new check and hint for infrastructure configuration issue (detect http -> https redirect, while the daemon is configured to use http).
- This should be manually backported for NC 30 and 31 (because of different tests that are require adjustments).
Thanks to @andrey18106 and the team for the above points!
Describe alternatives you've considered, if relevant
No response
Additional context
No response
- Langage dominant
- PHP
- Étoiles
- 202
- Forks
- 30
- Merge moyen
- 3 j 20 h
- PR mergées (30 j)
- 24
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de nextcloud/app_api
-
bug docker
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Daemon delete dialog: "Remove all ExApps" checkbox and `removeExApps` parameter have no effectOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
Meta ex-app updates issueOuvertedeploy discussion
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
nextcloud/app_api#1236 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
deploy docker enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Les mainteneurs répondent en général sous 1 jour
-
bug deploy docker
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de nextcloud/app_api
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
Adyen/adyen-magento2#3453 ·
Les mainteneurs répondent en général sous 8 jours
-
component/media domain/discovery
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement priority: low
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
magicsunday/webtrees-statistics#664 ·
Les mainteneurs répondent en général sous 1 jour