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

24 lines
418 B
YAML
Raw Normal View History

2020-09-15 07:00:51 +02:00
version: "3.8"
2019-12-14 07:35:49 +02:00
services:
doods:
2020-09-15 07:00:51 +02:00
image: snowzach/doods:arm32
2019-12-14 07:35:49 +02:00
ports:
- "8080:8080"
configs:
- source: config.yaml
target: /opt/doods/config.yaml
deploy:
2020-09-15 07:00:51 +02:00
replicas: 2
placement:
max_replicas_per_node: 1
constraints:
- node.role == worker
2019-12-14 07:35:49 +02:00
restart_policy:
condition: on-failure
configs:
config.yaml:
file: ./data/config.yaml