Skip to content

Update Docker images and add healthcheck#69

Merged
cephalin merged 1 commit into
mainfrom
msangapu-msft-patch-1
Jul 23, 2026
Merged

Update Docker images and add healthcheck#69
cephalin merged 1 commit into
mainfrom
msangapu-msft-patch-1

Conversation

@msangapu-msft

@msangapu-msft msangapu-msft commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary for .devcontainer/docker-compose.yml:
Added startup coordination so the app waits for Postgres to become healthy and Redis to start.
Added a Postgres healthcheck using pg_isready to improve container readiness detection.
Pinned Postgres from latest to postgres:17 for a more stable, reproducible dev environment.
Pinned Redis to redis:7-alpine, which is a smaller, versioned image and can improve image pull time.
Removed the obsolete top-level Compose version field to align with modern Docker Compose conventions.
Kept the original network_mode: service:db behavior, so the app’s networking model is unchanged.

Summary for .devcontainer/docker-compose.yml:
Added startup coordination so the app waits for Postgres to become healthy and Redis to start.
Added a Postgres healthcheck using pg_isready to improve container readiness detection.
Pinned Postgres from latest to postgres:17 for a more stable, reproducible dev environment.
Pinned Redis to redis:7-alpine, which is a smaller, versioned image and can improve image pull time.
Removed the obsolete top-level Compose version field to align with modern Docker Compose conventions.
Kept the original network_mode: service:db behavior, so the app’s networking model is unchanged.
@cephalin
cephalin merged commit a09b4ac into main Jul 23, 2026
5 checks passed
@msangapu-msft
msangapu-msft deleted the msangapu-msft-patch-1 branch July 23, 2026 14:40
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