Skip to content

Bitwarden Lite Marketplace Images#491

Merged
kspearrin merged 3 commits intomainfrom
lite-marketplace
Apr 15, 2026
Merged

Bitwarden Lite Marketplace Images#491
kspearrin merged 3 commits intomainfrom
lite-marketplace

Conversation

@kspearrin
Copy link
Copy Markdown
Member

@kspearrin kspearrin commented Apr 8, 2026

📔 Objective

Adds Bitwarden Lite variants of the existing AWS, Azure, and DigitalOcean marketplace VM images. Where the standard images deploy the full multi-container stack via bitwarden.sh, the Lite images deploy the single all-in-one ghcr.io/bitwarden/lite container via Docker Compose.

On first boot, cloud-init automatically pulls the Lite image, generates a random database password, writes a pre-configured settings.env, and starts the stack. No interactive setup is required. Database migrations run automatically on startup. Users only need to update BW_DOMAIN, BW_INSTALLATION_ID, and BW_INSTALLATION_KEY in /home/bitwarden/settings.env and restart — the MOTD dynamically reads the current config and flags any required settings that still need attention.

A new CommonMarketplaceLite/ directory holds the Lite-specific first-boot and MOTD files. Shared provisioning scripts (01-setup-first-run.sh, 02-ufw-bitwarden.sh, 90-cleanup.sh) are reused from CommonMarketplace/ unchanged, with a minor guard added to 01-setup-first-run.sh so it only chmods install-bitwarden.sh if that file exists. Each platform gets a marketplace-image-lite.pkr.hcl Packer template and a 99-img-check-lite.sh validation script. Three new release workflows mirror their standard counterparts and are triggered automatically from release.yml alongside the existing marketplace builds.

@kspearrin kspearrin requested review from a team as code owners April 8, 2026 13:02
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Logo
Checkmarx One – Scan Summary & Detailsf412dbbd-a876-4eef-b297-ea6acd0559c6

Great job! No new security vulnerabilities introduced in this pull request

@kspearrin kspearrin changed the title lite marketplace listings Bitwarden Lite Marketplace Images Apr 8, 2026
Comment thread .github/workflows/release-digital-ocean-lite.yml
Comment thread .github/workflows/release-digital-ocean-lite.yml
Comment thread .github/workflows/release-digital-ocean-lite.yml
Comment thread .github/CODEOWNERS
@kspearrin kspearrin enabled auto-merge (squash) April 14, 2026 12:38
Copy link
Copy Markdown
Contributor

@michalchecinski michalchecinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link
Copy Markdown

@kspearrin
Copy link
Copy Markdown
Member Author

LGTM

Thanks. Had to fix one item in the readme

Copy link
Copy Markdown
Collaborator

@mimartin12 mimartin12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kspearrin!

@kspearrin kspearrin merged commit 2dd1ef7 into main Apr 15, 2026
6 checks passed
@kspearrin kspearrin deleted the lite-marketplace branch April 15, 2026 17:26
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.

3 participants