Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Allow additional routes in entrypoint

Abierto
#17 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
docker-compose, shell

Línea de trabajo

Start with the entrypoint and its jq_write handling, then inspect how the Caddyfile and docker-compose.override.yaml are used to configure routes. Define and implement a supported way to add routes or proxy configuration, including any variable templating, while preserving the default OpenSlides routes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Currently, the proxy is only configurable for default openslides.

In my use case, I use SaToSa (https://github.com/IdentityPython/SATOSA) to proxy SAML to OIDC, for which I need a subdomain (satosa.openslides.example.com) route to get the traffic to a container inserted via an dockre-compose.override.yaml.

That functionality would be a nice addition to the openslides-proxy, as configuring additional tools into the landscape of microservices of OS does not sound very "dirty hack" to me.

As merging configs seems to be only possible with Caddyfile, not already computed json, configuring a fixed/per-variable merge/append directory for the entrypoint looks like the viable solution?
I'd think either:

  • ADDITIONAL_PROXY_CONFIG with a path (mounted into the container) to just feed line-by-line to jq_write at the end of the entrypoint
  • ADDITIONAL_PROXY_CONFIGS with an array doing the same as above (although arrays are icky in bash)
  • ADDITIONAL_PROXY_ROUTES of just raw json to append to ".apps.http.servers.srv0.routes. Possibly appended early so the entrypoint can template the variables in there.

What do you think?

Lenguaje dominante
Shell
Estrellas
0
Forks
11
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OpenSlides/openslides-proxy

Todos los issues de OpenSlides/openslides-proxy

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.