From d4af0e98503a3871807339ac7a25be8c0b1bc697 Mon Sep 17 00:00:00 2001 From: Mark Allen <3417310+maallen@users.noreply.github.com> Date: Wed, 16 Aug 2023 13:17:43 +0100 Subject: [PATCH] Use single api server --- docker/docker-compose-api-worker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose-api-worker.yml b/docker/docker-compose-api-worker.yml index 84223a398d..af4e99f104 100644 --- a/docker/docker-compose-api-worker.yml +++ b/docker/docker-compose-api-worker.yml @@ -18,6 +18,7 @@ services: - --character-set-server=utf8mb4 - --collation-server=utf8mb4_bin - --max-connections=1000 + - --log_error_verbosity=2 worker: deploy: mode: replicated @@ -76,7 +77,7 @@ services: api: deploy: mode: replicated - replicas: 2 + replicas: 1 endpoint_mode: vip resources: limits: @@ -99,7 +100,7 @@ services: links: - db ports: - - "8080-8081:8080" + - "8080:8080" restart: always environment: SPRING_APPLICATION_JSON: '{