Skip to content

Commit

Permalink
Use single api server
Browse files Browse the repository at this point in the history
  • Loading branch information
maallen committed Aug 16, 2023
1 parent c32d863 commit d4af0e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/docker-compose-api-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --max-connections=1000
- --log_error_verbosity=2
worker:
deploy:
mode: replicated
Expand Down Expand Up @@ -76,7 +77,7 @@ services:
api:
deploy:
mode: replicated
replicas: 2
replicas: 1
endpoint_mode: vip
resources:
limits:
Expand All @@ -99,7 +100,7 @@ services:
links:
- db
ports:
- "8080-8081:8080"
- "8080:8080"
restart: always
environment:
SPRING_APPLICATION_JSON: '{
Expand Down

0 comments on commit d4af0e9

Please sign in to comment.