Changes the Immich template services from restart: always to restart: unless-stopped.
This keeps normal container recovery behavior, but respects a Dokploy/user stop action across host reboots. It should prevent Immich containers from coming back up after the app was stopped and autodeploy was disabled.
Validation
npm.cmd run validate-template -- --dir ../blueprints/immich
npm.cmd run validate-docker-compose -- --file ../blueprints/immich/docker-compose.yml
git diff --check
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/Dokploy/templates/pull/938
**Author:** [@rohitmulani63-ops](https://github.com/rohitmulani63-ops)
**Created:** 6/22/2026
**Status:** ✅ Merged
**Merged:** 7/7/2026
**Merged by:** [@Siumauricio](https://github.com/Siumauricio)
**Base:** `canary` ← **Head:** `codex/fix-immich-restart-policy`
---
### 📝 Commits (1)
- [`4602452`](https://github.com/Dokploy/templates/commit/4602452f055149f2a71bb24906d974401b117aa9) fix: respect stopped Immich deployments
### 📊 Changes
**1 file changed** (+5 additions, -5 deletions)
<details>
<summary>View changed files</summary>
📝 `blueprints/immich/docker-compose.yml` (+5 -5)
</details>
### 📄 Description
## Summary
Closes #792.
Changes the Immich template services from `restart: always` to `restart: unless-stopped`.
This keeps normal container recovery behavior, but respects a Dokploy/user stop action across host reboots. It should prevent Immich containers from coming back up after the app was stopped and autodeploy was disabled.
## Validation
- `npm.cmd run validate-template -- --dir ../blueprints/immich`
- `npm.cmd run validate-docker-compose -- --file ../blueprints/immich/docker-compose.yml`
- `git diff --check`
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/938
Author: @rohitmulani63-ops
Created: 6/22/2026
Status: ✅ Merged
Merged: 7/7/2026
Merged by: @Siumauricio
Base:
canary← Head:codex/fix-immich-restart-policy📝 Commits (1)
4602452fix: respect stopped Immich deployments📊 Changes
1 file changed (+5 additions, -5 deletions)
View changed files
📝
blueprints/immich/docker-compose.yml(+5 -5)📄 Description
Summary
Closes #792.
Changes the Immich template services from
restart: alwaystorestart: unless-stopped.This keeps normal container recovery behavior, but respects a Dokploy/user stop action across host reboots. It should prevent Immich containers from coming back up after the app was stopped and autodeploy was disabled.
Validation
npm.cmd run validate-template -- --dir ../blueprints/immichnpm.cmd run validate-docker-compose -- --file ../blueprints/immich/docker-compose.ymlgit diff --check🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.