Make remote docker daemon setup with HTTP networks easier
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 32/100
Direção de pesquisa
Comece rastreando os fluxos de Register daemon e Test Deploy e, em seguida, inspecione como OVERRIDE_APP_HOST e Docker Socket Proxy determinam o host do ExApp para daemons HTTP e HTTPS. Identifique os pontos de migração e validação da UI necessários para configurações HTTP remotas. Considera-se concluído quando a nova opção, a migração, os avisos, a verificação de redirecionamento e os ajustes de backport necessários estiverem cobertos.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- PHP
- Estrelas
- 202
- Forks
- 30
- Merge médio
- 3d 20h
- PRs com merge (30d)
- 24
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de nextcloud/app_api
-
bug docker
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Daemon delete dialog: "Remove all ExApps" checkbox and `removeExApps` parameter have no effectAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
Meta ex-app updates issueAbertadeploy discussion
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
nextcloud/app_api#1236 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
deploy docker enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
Mantenedores costumam responder em até 1 dia
-
bug deploy docker
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
Mantenedores costumam responder em até 1 dia
Todas as issues de nextcloud/app_api
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Adyen/adyen-magento2#3453 ·
Mantenedores costumam responder em até 8 dias
-
component/media domain/discovery
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
Mantenedores costumam responder em até 1 dia
-
enhancement priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
magicsunday/webtrees-statistics#664 ·
Mantenedores costumam responder em até 1 dia