Skip to content

Commit

Permalink
make sure minio is always deployed to the data1 node
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Oct 17, 2023
1 parent 8797c95 commit 66e595f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions infrastructure/docker-compose.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ services:
- '/data/minio:/data'
command: server --console-address ":9001" /data
deploy:
replicas: 1
placement:
constraints:
- node.labels.data1 == true
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=opencrvs_overlay_net'
Expand Down

0 comments on commit 66e595f

Please sign in to comment.