Skip to content

Commit b5ca12a

Browse files
authored
Merge pull request #61 from ASTRAOS-de/after-release-fixes-iii
Add replication factors for collector and logserver as well
2 parents 1a556ce + 4eccebb commit b5ca12a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker/docker_swarm/docker-compose.swarm.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ services:
232232
GROUP_ID: "${LOGSERVER_GROUP_ID:-log_storage}"
233233
HAMSTRING_CONFIG_CHECKSUM: "${HAMSTRING_CONFIG_CHECKSUM:-d9bc812b76c2b58c633b412a6c07f981f3c4d787}"
234234
deploy:
235+
mode: replicated
236+
replicas: ${LOGSERVER_REPLICAS:-1}
235237
placement:
236238
constraints:
237239
- "${LOGSERVER_PLACEMENT_CONSTRAINT:-node.platform.os == linux}"
@@ -250,6 +252,8 @@ services:
250252
GROUP_ID: "${LOGCOLLECTOR_GROUP_ID:-log_collection}"
251253
HAMSTRING_CONFIG_CHECKSUM: "${HAMSTRING_CONFIG_CHECKSUM:-d9bc812b76c2b58c633b412a6c07f981f3c4d787}"
252254
deploy:
255+
mode: replicated
256+
replicas: ${LOGCOLLECTOR_REPLICAS:-1}
253257
placement:
254258
constraints:
255259
- "${LOGCOLLECTOR_PLACEMENT_CONSTRAINT:-node.platform.os == linux}"

0 commit comments

Comments
 (0)