added replicas for docker swarm

This commit is contained in:
PxlLoewe
2025-05-27 21:40:18 -07:00
parent 2209372303
commit 23dd9c2958
4 changed files with 13 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
services:
dispatch:
deploy:
replicas: 3
build:
context: .
dockerfile: ./apps/dispatch/Dockerfile
@@ -47,6 +49,8 @@ services:
postgres:
condition: service_healthy
dispatch-server:
deploy:
replicas: 3
build:
context: .
dockerfile: ./apps/dispatch-server/Dockerfile