ansible/playbooks/tasks/web/sb-mirror.yml

21 lines
517 B
YAML
Raw Normal View History

2023-11-28 13:49:52 -06:00
# vim:ft=ansible:
- name: docker deploy sb-mirror
docker_container:
name: sb-mirror
image: mchangrh/sb-mirror
2023-12-13 19:58:29 -06:00
state: absent
2023-11-28 13:49:52 -06:00
# Enable me if you want the mirror public
# https://github.com/mchangrh/sb-mirror
# Should be port 873
# networks:
# - name: web
# aliases: [ "sb-mirror" ]
volumes:
- /data/sb-mirror/mirror:/mirror
- /data/sb-export/export:/export
env:
CSVLINT: "TRUE"
MIRROR: "TRUE"
VALIDATE: "TRUE"
tags: [ docker, sb-mirror ]