selfpass/services/docker-stack.yml

30 lines
423 B
YAML
Raw Normal View History

version: "3.7"
services:
server:
image: mjfs/selfpass:latest
ports:
- "8080:8080"
volumes:
- data:/home/selfpass/data
secrets:
- ca
- cert
- key
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: on-failure
secrets:
ca:
external: true
cert:
external: true
key:
external: true
volumes:
data:
external: true