21 lines
517 B
YAML
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 ]
|