Skip to content

Improve service reliability by adding restart policy in docker-compose#192

Open
Pratik-Ahire-git wants to merge 3 commits intoEdwinVW:mainfrom
Pratik-Ahire-git:dev
Open

Improve service reliability by adding restart policy in docker-compose#192
Pratik-Ahire-git wants to merge 3 commits intoEdwinVW:mainfrom
Pratik-Ahire-git:dev

Conversation

@Pratik-Ahire-git
Copy link

Summary

This PR updates the docker-compose configuration to improve container reliability.

Changes Made

  • Added restart: unless-stopped to all application services
  • Updated SQL Server image to a specific stable version
  • Ensured all dependent services restart automatically after failure or reboot

Why this change?

  • Improves service availability
  • Prevents containers from stopping unexpectedly
  • Makes the setup more production-ready

Testing

  • Verified containers start successfully using docker-compose up
  • Confirmed services restart automatically after stopping

@EdwinVW
Copy link
Owner

EdwinVW commented Feb 4, 2026

If I read the documentation for the SQL Server images, I see that 2022 is not preview (2025 is):

"Start a mssql-server instance for SQL Server 2022 (16.x). These images are based on Ubuntu 22.04, and are fully supported for production workloads.".

Why do you want to use the 2019 version?

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