Skip to content

feat: add BILIBILI_SESSION_ENCRYPTION_KEY to compose and environment templates - #291

Merged
Priveetee merged 4 commits into
TypeType-Video:devfrom
Aquarius-Situla:feat/bilibili-session-encryption-env
Sep 26, 2026
Merged

Priveetee merged 4 commits into
TypeType-Video:devfrom
Aquarius-Situla:feat/bilibili-session-encryption-env

Conversation

@Aquarius-Situla

@Aquarius-Situla Aquarius-Situla commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Exposes BILIBILI_SESSION_ENCRYPTION_KEY in Docker Compose configurations and environment templates to enable out-of-the-box Bilibili session database encryption for self-hosters (#287).


Key Changes

Docker Compose & Environment Templates (.env.example, docker-compose.yml, docker-compose.dev.yml):

  • Added the BILIBILI_SESSION_ENCRYPTION_KEY placeholder and configuration documentation to .env.example.
  • Forwarded BILIBILI_SESSION_ENCRYPTION_KEY: ${BILIBILI_SESSION_ENCRYPTION_KEY:-} into typetype-server and typetype-init service containers across production and development Compose files.
  • Enables self-hosted instances to configure encryption keys for Bilibili QR-authenticated credentials in PostgreSQL.

@Priveetee

Priveetee commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Hi @Aquarius-Situla ,

I pushed a commit to fix the Compose healthcheck and harden the BiliBili session key setup. The key is now generated automatically during bootstrap instead of leaving the placeholder in place, and the unused typetype-init wiring was removed.

The validate-pr CI job passes and the stack validation is green.

Thanks for contributing to TypeType!

@Priveetee
Priveetee merged commit c773002 into TypeType-Video:dev Sep 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants