data.coop-ansible/roles/docker/tasks/services/ouroboros.yml

18 lines
446 B
YAML
Raw Permalink Normal View History

2019-03-04 15:28:51 +00:00
---
- name: ouroboros container
docker_container:
name: ouroboros
image: pyouroboros/ouroboros
restart_policy: unless-stopped
networks:
- name: external_services
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/root/.docker/config.json
env:
LABEL_ENABLE: "true"
LABELS_ONLY: "true"
CLEANUP: "true"
LATEST: "true"
CRON: "*/1 * * * *"