senaite.docker/stack.yml
2019-08-05 16:25:45 +02:00

29 lines
560 B
YAML

version: "3"
services:
senaite:
image: ramonski/senaite:latest
deploy:
replicas: 1
restart_policy:
condition: on-failure
resources:
limits:
cpus: "1"
memory: 2G
ports:
- "8080:8080"
networks:
- webnet
visualizer:
image: dockersamples/visualizer:stable
ports:
- "8000:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
deploy:
placement:
constraints: [node.role == manager]
networks:
- webnet
networks:
webnet: