Giles Bradshaw 1 year ago
parent
commit
eaad256127
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      docker-compose.yml

+ 3
- 1
docker-compose.yml View File

@@ -318,10 +318,12 @@ services:
image: jasonrivers/nagios:latest
deploy:
placement:
constraints: [node.labels.com.sigyl.git-stack-data == yes]
constraints: [node.labels.com.sigyl.git-stack == yes]
replicas: 1
restart_policy:
condition: any
volumes:
- ./nagios:/opt/nagios/etc/conf.d/
networks:
- appnet
matomo: