Compare commits

...

3 Commits

Author SHA1 Message Date
a2720a2b42 Add sb-mirror to role, ignore for backups 2023-11-28 13:50:40 -06:00
b5fd89aa79 Add sb-mirror 2023-11-28 13:49:52 -06:00
f8c88cf498 Add new home IP to whitelists 2023-11-28 13:45:29 -06:00
2 changed files with 27 additions and 5 deletions

View File

@ -33,6 +33,7 @@
- web/srv.yml - web/srv.yml
- web/synapse.yml - web/synapse.yml
- web/transmission.yml - web/transmission.yml
- web/sb-mirror.yml
- game/factorio.yml - game/factorio.yml
- game/minecraft-create-extra.yml - game/minecraft-create-extra.yml
- game/minecraft-vanilla.yml - game/minecraft-vanilla.yml
@ -53,6 +54,7 @@
- /data/minecraft/stoneblock/backups - /data/minecraft/stoneblock/backups
- /data/minecraft/create-extra/backups - /data/minecraft/create-extra/backups
- /data/minecraft/prominence/FeedTheBeast/world/.git - /data/minecraft/prominence/FeedTheBeast/world/.git
- /data/sb-mirror
- /data/shared/media - /data/shared/media
- /data/shared/downloads - /data/shared/downloads
- /data/terraria/generic/backups - /data/terraria/generic/backups
@ -251,6 +253,7 @@
- name: firefly-importer.desu.ltd - name: firefly-importer.desu.ltd
directives: directives:
- "allow 24.182.160.0/20" - "allow 24.182.160.0/20"
- "allow 97.91.128.0/17"
- "deny all" - "deny all"
proxy_pass: http://firefly-importer:8080 proxy_pass: http://firefly-importer:8080
- name: git.desu.ltd - name: git.desu.ltd
@ -258,7 +261,7 @@
- name: lr.desu.ltd - name: lr.desu.ltd
directives: directives:
- "allow 24.182.160.0/20" - "allow 24.182.160.0/20"
- "allow 99.109.108.102/32" - "allow 97.91.128.0/17"
- "deny all" - "deny all"
proxy_pass: http://libreddit:8080 proxy_pass: http://libreddit:8080
- name: matrix.desu.ltd - name: matrix.desu.ltd
@ -291,25 +294,25 @@
- name: prowlarr.media.desu.ltd - name: prowlarr.media.desu.ltd
directives: directives:
- "allow 24.182.160.0/20" - "allow 24.182.160.0/20"
- "allow 99.109.108.102/32" - "allow 97.91.128.0/17"
- "deny all" - "deny all"
proxy_pass: http://prowlarr:9696 proxy_pass: http://prowlarr:9696
- name: sonarr.media.desu.ltd - name: sonarr.media.desu.ltd
directives: directives:
- "allow 24.182.160.0/20" - "allow 24.182.160.0/20"
- "allow 99.109.108.102/32" - "allow 97.91.128.0/17"
- "deny all" - "deny all"
proxy_pass: http://sonarr:8989 proxy_pass: http://sonarr:8989
- name: radarr.media.desu.ltd - name: radarr.media.desu.ltd
directives: directives:
- "allow 24.182.160.0/20" - "allow 24.182.160.0/20"
- "allow 99.109.108.102/32" - "allow 97.91.128.0/17"
- "deny all" - "deny all"
proxy_pass: http://radarr:7878 proxy_pass: http://radarr:7878
- name: transmission.media.desu.ltd - name: transmission.media.desu.ltd
directives: directives:
- "allow 24.182.160.0/20" - "allow 24.182.160.0/20"
- "allow 99.109.108.102/32" - "allow 97.91.128.0/17"
- "deny all" - "deny all"
proxy_pass: http://transmission:9091 proxy_pass: http://transmission:9091
# 9iron # 9iron

View File

@ -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 ]