Skip to content

add restart policy to all services in docker-compose.prod.yml#45

Merged
cisar2218 merged 1 commit intomasterfrom
fix/deployment-services-restart-policy
Mar 29, 2026
Merged

add restart policy to all services in docker-compose.prod.yml#45
cisar2218 merged 1 commit intomasterfrom
fix/deployment-services-restart-policy

Conversation

@cisar2218
Copy link
Copy Markdown
Contributor

  • Before: server reboot stops all docker containers.
  • Now: if server is rebooted, docker services are restarted after reboot. Services can be stopped manually.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Docker restart policies to production Compose services so containers automatically come back up after a host reboot, while still allowing manual stops.

Changes:

  • Set restart: unless-stopped for all services in docker-compose.prod.yml (db, backend, worker, redis, minio, frontend, nginx).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cisar2218 cisar2218 merged commit 10a4056 into master Mar 29, 2026
17 checks passed
@cisar2218 cisar2218 deleted the fix/deployment-services-restart-policy branch March 29, 2026 15:10
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