ansible/playbooks/tasks/web/sb-mirror.yml
2023-12-13 19:58:29 -06:00

21 lines
517 B
YAML

# vim:ft=ansible:
- name: docker deploy sb-mirror
docker_container:
name: sb-mirror
image: mchangrh/sb-mirror
state: absent
# 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 ]