mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
24 lines
418 B
YAML
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
|