Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Conversation

@BeamNawapat
Copy link

Changes

Add support for VAPID (Voluntary Application Server Identification) keys in Docker builds:

  • Add NEXT_PUBLIC_VAPID_PUBLIC_KEY as optional build argument and environment variable
  • Add VAPID_PRIVATE_KEY as optional build argument and environment variable
  • Include VAPID variables in all Docker build stages (builder, builder-two, runner)

Problem Solved

Fixes "Please enable Google services for push messaging" error that occurs when:

  • Web push notifications are enabled in the application
  • VAPID keys are not available during the Docker build process
  • process.env.NEXT_PUBLIC_VAPID_PUBLIC_KEY returns undefined, causing invalid applicationServerKey

@krumware krumware self-requested a review October 17, 2025 14:20
@krumware
Copy link
Collaborator

Assigned for review

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants