added replicas for docker swarm
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user