(docker) Add restart: always to executor nodes

The system will perform a janitor reset on these nodes when the node profile is switched, so it's important they restart automatically.
This commit is contained in:
Viktor Lofgren 2024-11-25 15:31:45 +01:00
parent 3ec9c4c5fa
commit ea6b148df2
3 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,7 @@ services:
container_name: "index-service-1"
executor-service-1:
<<: *partition-1
restart: always
image: "marginalia/executor-service"
container_name: "executor-service-1"
query-service:

View File

@ -64,6 +64,7 @@ services:
container_name: "index-service-1"
executor-service-1:
<<: *partition-1
restart: always
image: "marginalia/executor-service"
container_name: "executor-service-1"
index-service-2:
@ -72,6 +73,7 @@ services:
container_name: "index-service-2"
executor-service-2:
<<: *partition-2
restart: always
image: "marginalia/executor-service"
container_name: "executor-service-2"
query-service:

View File

@ -64,6 +64,7 @@ services:
container_name: "index-service-1"
executor-service-1:
<<: *partition-1
restart: always
image: "marginalia/executor-service"
container_name: "executor-service-1"
index-service-2:
@ -72,6 +73,7 @@ services:
container_name: "index-service-2"
executor-service-2:
<<: *partition-2
restart: always
image: "marginalia/executor-service"
container_name: "executor-service-2"
query-service: