1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/doods/arm/docker-stack.yml
2020-09-15 13:00:51 +08:00

24 lines
418 B
YAML

version: "3.8"
services:
doods:
image: snowzach/doods:arm32
ports:
- "8080:8080"
configs:
- source: config.yaml
target: /opt/doods/config.yaml
deploy:
replicas: 2
placement:
max_replicas_per_node: 1
constraints:
- node.role == worker
restart_policy:
condition: on-failure
configs:
config.yaml:
file: ./data/config.yaml