Files
claudeandClaude Opus 5.5 101250a3b9 Dex-only login, anonymous listening, flash-free Catppuccin welcome page
- The theme is now a stylesheet linked from index.html (ConfigMap
  funkwhale-theme), not in-app custom CSS, so it applies on first paint.
  Primary buttons and links use Dex's mauve/lavender exactly; the
  welcome page gets a Catppuccin gradient and the eom.dev logo instead
  of the sky-blue banner and whales, and its login card is a plain
  surface. tools/gen-palettes.py regenerates the palette ramps, with the
  light and dark halves fixed.
- funkwhale-oidc v0.2.0 with funkwhale_oidc_local_login: false. Dex is
  the only way in, and the break-glass admin is skipped.
- common__api_authentication_required: false (anonymous access), plus a
  long description for the welcome page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:44:58 -05:00

48 lines
2.3 KiB
Django/Jinja

# Environment shared by every Funkwhale container (the front image only
# reads the FUNKWHALE_API_*, NGINX_*, *_ROOT/PATH and FUNKWHALE_OIDC_* ones).
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ funkwhale_name }}
namespace: {{ funkwhale_namespace }}
labels:
app.kubernetes.io/name: funkwhale
app.kubernetes.io/instance: {{ funkwhale_name }}
data:
FUNKWHALE_HOSTNAME: {{ funkwhale_host | to_json }}
FUNKWHALE_PROTOCOL: https
FUNKWHALE_API_HOST: {{ funkwhale_name }}-api
FUNKWHALE_API_PORT: "5000"
FUNKWHALE_WEB_WORKERS: {{ funkwhale_web_workers | string | to_json }}
CELERYD_CONCURRENCY: {{ funkwhale_celery_concurrency | string | to_json }}
# The API copies index.html (with the OIDC button) from the front for the
# pages it renders itself, instead of hairpinning through the Ingress.
FUNKWHALE_SPA_HTML_ROOT: http://{{ funkwhale_name }}-front/
# ingress-nginx, then the front's nginx.
NUM_PROXIES: "2"
DATABASE_HOST: {{ funkwhale_name }}-db
DATABASE_PORT: "5432"
DATABASE_USER: funkwhale
DATABASE_NAME: funkwhale
CACHE_URL: redis://{{ funkwhale_name }}-redis:6379/0
MEDIA_ROOT: /srv/funkwhale/data/media
STATIC_ROOT: /srv/funkwhale/data/static
MUSIC_DIRECTORY_PATH: /music
NGINX_MAX_BODY_SIZE: {{ funkwhale_max_upload_size | to_json }}
DEFAULT_FROM_EMAIL: {{ funkwhale_from_email | to_json }}
LOGLEVEL: info
{% if funkwhale_oidc_enabled | bool %}
FUNKWHALE_PLUGINS: funkwhale_oidc
FUNKWHALE_OIDC_SERVER_URL: {{ funkwhale_oidc_server_url | to_json }}
FUNKWHALE_OIDC_CLIENT_ID: {{ funkwhale_oidc_client_id | to_json }}
FUNKWHALE_OIDC_PROVIDER_ID: {{ funkwhale_oidc_provider_id | to_json }}
FUNKWHALE_OIDC_NAME: {{ funkwhale_oidc_name | to_json }}
FUNKWHALE_OIDC_SCOPES: {{ funkwhale_oidc_scopes | join(',') | to_json }}
FUNKWHALE_OIDC_SIGNUP: {{ funkwhale_oidc_signup | bool | lower | to_json }}
FUNKWHALE_OIDC_LINK_BY_EMAIL: {{ funkwhale_oidc_link_by_email | bool | lower | to_json }}
FUNKWHALE_OIDC_ADMIN_USERS: {{ funkwhale_oidc_admin_users | join(',') | to_json }}
FUNKWHALE_OIDC_ADMIN_GROUPS: {{ funkwhale_oidc_admin_groups | join(',') | to_json }}
FUNKWHALE_OIDC_AUTO_REDIRECT: {{ funkwhale_oidc_auto_redirect | bool | lower | to_json }}
FUNKWHALE_OIDC_LOCAL_LOGIN: {{ funkwhale_oidc_local_login | bool | lower | to_json }}
{% endif %}