Skip to content

Refine Docker Compose setup for Wave Lite #1033

Merged
munishchouhan merged 5 commits intomasterfrom
update-docker-compose
Apr 17, 2026
Merged

Refine Docker Compose setup for Wave Lite #1033
munishchouhan merged 5 commits intomasterfrom
update-docker-compose

Conversation

@munishchouhan
Copy link
Copy Markdown
Member

@munishchouhan munishchouhan commented Apr 17, 2026

Summary

  • Right-sized system requirements from 32 GB / 8 CPU (m5a.2xlarge) down to 12 GB / 4 CPU (m5a.xlarge) — Wave Lite disables build, mirror, scan, and blob cache services, and k8s runs at 1.4 GB / 0.2 CPU per pod, so the previous requirements were massively oversized.
  • Right-sized container resource limits — set 4 GB memory / 1 CPU limit and 2 GB memory / 0.2 CPU reservation per replica, aligned with actual k8s production usage rather than the previous 4 GB / 1 CPU reservations. - Overhauled lite/docker-compose.yml — added bundled PostgreSQL 16 and Redis 7 services with health checks, depends_on conditions, resource limits, and restart policies. Previously the compose file assumed external DB/Redis but provided no guidance, making first-time setup impossible out of the box.
  • Added lite/wave.env template — centralizes connection settings (DB, Redis, Platform endpoint, mail) in one documented env file instead of scattering them across the YAML config.
  • Simplified docs/install/docker-compose.md — removed disabled-service blocks and stale settings (removed stream-pool event loop group, duplicate connection strings) from the example config. Moved DB/Redis/Platform settings to the env file to reduce copy-paste errors.
  • Updated lite/config.yml to explicitly disable build, mirror, scan, and blobCache — these were previously only implied by the lite Micronaut profile but not visible in the config, causing confusion about what was running. - Added managed-services note — steers production users toward managed PostgreSQL/Redis (RDS, ElastiCache) while keeping containerized option for development.
  • Switched deployment to Docker Swarm — docs now use docker stack deploy with 2 replicas, since plain docker compose up cannot run replicas with port
    bindings.

Signed-off-by: munishchouhan <hrma017@gmail.com>
Signed-off-by: munishchouhan <hrma017@gmail.com>
@munishchouhan munishchouhan changed the title Update docker compose and wave lite documentation Refine Docker Compose setup for Wave Lite Apr 17, 2026
@munishchouhan munishchouhan self-assigned this Apr 17, 2026
Signed-off-by: munishchouhan <hrma017@gmail.com>
@munishchouhan munishchouhan merged commit 00a7c85 into master Apr 17, 2026
3 checks passed
@munishchouhan munishchouhan deleted the update-docker-compose branch April 17, 2026 14:03
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