Files
CHORUS/hmmm-monitor/docker-compose.yml

35 lines
708 B
YAML

version: '3.8'
services:
hmmm-monitor:
build: .
image: anthonyrawlins/hmmm-monitor:latest
container_name: hmmm-monitor
networks:
- chorus_net
environment:
- LOG_LEVEL=info
restart: unless-stopped
deploy:
replicas: 1
placement:
constraints:
- node.hostname == walnut # Deploy on same node as CHORUS for network access
resources:
limits:
cpus: '0.5'
memory: 256M
reservations:
cpus: '0.1'
memory: 128M
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
chorus_net:
external: true
name: CHORUS_chorus_net