fix(server): Set dev restart policy to unless-stopped. (#3123)
Previously, if you'd shut down the `make-dev` command and restart the docker daemon (say, on a system reboot), there would be 3 immich containers already running.
This commit is contained in:
parent
71a2914f3e
commit
814030be77
1 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ services:
|
|||
- NODE_ENV=development
|
||||
depends_on:
|
||||
- database
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
||||
immich-microservices:
|
||||
container_name: immich_microservices
|
||||
|
@ -88,7 +88,7 @@ services:
|
|||
volumes:
|
||||
- ../web:/usr/src/app
|
||||
- /usr/src/app/node_modules
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- immich-server
|
||||
|
||||
|
@ -137,7 +137,7 @@ services:
|
|||
depends_on:
|
||||
- immich-server
|
||||
- immich-web
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
|
|
Loading…
Reference in a new issue