0
0
Fork 0

Added deploy instruction

This commit is contained in:
Joan Sanchez 2022-03-30 15:45:38 +02:00
parent db01747ca3
commit c7fdf8ef23
1 changed files with 6 additions and 1 deletions

View File

@ -6,4 +6,9 @@ services:
context: . context: .
dockerfile: ./Dockerfile dockerfile: ./Dockerfile
ports: ports:
- 4000 - 4000
deploy:
replicas: 2
placement:
constraints:
- node.role == worker