From b5fd89aa7933bdc9800910b36b64fd3c92bbc223 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Tue, 28 Nov 2023 13:49:52 -0600 Subject: [PATCH] Add sb-mirror --- playbooks/tasks/web/sb-mirror.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 playbooks/tasks/web/sb-mirror.yml diff --git a/playbooks/tasks/web/sb-mirror.yml b/playbooks/tasks/web/sb-mirror.yml new file mode 100644 index 0000000..23f05e1 --- /dev/null +++ b/playbooks/tasks/web/sb-mirror.yml @@ -0,0 +1,19 @@ +# vim:ft=ansible: +- name: docker deploy sb-mirror + docker_container: + name: sb-mirror + image: mchangrh/sb-mirror + # 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 ]