From e060ae85d060e3e12d1f44fd77e54451e8b620d4 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sun, 17 Feb 2019 21:56:17 -0500 Subject: [PATCH 1/5] Added Shoko Server - Anime Media Manager --- apps/shoko.yml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 apps/shoko.yml diff --git a/apps/shoko.yml b/apps/shoko.yml new file mode 100644 index 0000000..f0f54d9 --- /dev/null +++ b/apps/shoko.yml @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Title: Shoko Anime Server +# Author(s): Cayde Dixon (Cazzar), Thomas Baer (da3dsoul), ElementalCrisis, hidden4003 +# URL: https://shokoanime.com/ - https://github.com/ShokoAnime/ShokoServer +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'shoko' + intport: '8111' + extport: '8111' + image: 'cazzar/shokoserver' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/plexguide/containers/_core.yml' + + # LABELS ###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/etc/localtime:/etc/localtime:ro' + - '/mnt:/mnt:ro' + - '/opt/appdata/{{pgrole}}/data:/home/shoko/.shoko' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: 1000 + PGID: 1000 + + # MAIN DEPLOYMENT ############################################################# + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' From 17f440d721f066de1c5495c68c509e32aaf57daf Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sun, 17 Feb 2019 22:37:37 -0500 Subject: [PATCH 2/5] Shoko Server - Make mnt writable --- apps/shoko.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shoko.yml b/apps/shoko.yml index f0f54d9..6aaa4ea 100644 --- a/apps/shoko.yml +++ b/apps/shoko.yml @@ -34,7 +34,7 @@ set_fact: pg_volumes: - '/etc/localtime:/etc/localtime:ro' - - '/mnt:/mnt:ro' + - '/mnt:/mnt' - '/opt/appdata/{{pgrole}}/data:/home/shoko/.shoko' - name: 'Setting PG ENV' From 5e3e1d6e824215bf7e2c06528b0fcda43bd6d5f1 Mon Sep 17 00:00:00 2001 From: Cody Date: Wed, 20 Feb 2019 19:00:51 -0500 Subject: [PATCH 3/5] Updated path to /opt/communityapps/apps/_core.yml --- apps/shoko.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shoko.yml b/apps/shoko.yml index 6aaa4ea..0a38b9a 100644 --- a/apps/shoko.yml +++ b/apps/shoko.yml @@ -19,7 +19,7 @@ # CORE (MANDATORY) ############################################################ - name: 'Including cron job' - include_tasks: '/opt/plexguide/containers/_core.yml' + include_tasks: '/opt/communityapps/apps/_core.yml' # LABELS ###################################################################### - name: 'Adding Traefik' From 8c061b326fcd4158734fe69c139b0be72b7c1530 Mon Sep 17 00:00:00 2001 From: Cody Date: Wed, 20 Feb 2019 21:32:43 -0500 Subject: [PATCH 4/5] Initial commit - Sickrage, Sickchill, Pydio, Pydio Cells, MariaDB --- apps/couchpotato.yml | 71 ++++++++++++++++++++++++++++++++++++++++++ apps/mariadb.yml | 67 ++++++++++++++++++++++++++++++++++++++++ apps/pydio-cells.yml | 73 ++++++++++++++++++++++++++++++++++++++++++++ apps/pydio.yml | 70 ++++++++++++++++++++++++++++++++++++++++++ apps/sickchill.yml | 65 +++++++++++++++++++++++++++++++++++++++ apps/sickrage.yml | 65 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 411 insertions(+) create mode 100644 apps/couchpotato.yml create mode 100644 apps/mariadb.yml create mode 100644 apps/pydio-cells.yml create mode 100644 apps/pydio.yml create mode 100644 apps/sickchill.yml create mode 100644 apps/sickrage.yml diff --git a/apps/couchpotato.yml b/apps/couchpotato.yml new file mode 100644 index 0000000..9fe4c46 --- /dev/null +++ b/apps/couchpotato.yml @@ -0,0 +1,71 @@ +#!/bin/bash +# +# Title: CouchPotato +# Author(s): Ruud Burger, Clinton Hall, YourHuckleberry, linuxserver +# URL: http://couchpota.to - https://github.com/CouchPotato/CouchPotatoServer/ +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: +# CORE (MANDATORY) DO NOT CHANGE ########################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: "couchpotato" + intport: "5050" + extport: "5050" + image: "linuxserver/couchpotato:latest" + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + +# LABELS ################################################################ + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '{{path.stdout}}/unionfs/{{pgrole}}/:/movies' + - '{{path.stdout}}/downloads/{{pgrole}}/:/downloads' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: 1000 + PGID: 1000 + + + # MAIN DEPLOYMENT ############################################################## + + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' + + # POST DEPLOYMENT ############################################################## + + - name: 'Post Deployment Notes' + debug: + msg: "\n* Login: root:plexguide *\n" \ No newline at end of file diff --git a/apps/mariadb.yml b/apps/mariadb.yml new file mode 100644 index 0000000..4f55c97 --- /dev/null +++ b/apps/mariadb.yml @@ -0,0 +1,67 @@ +#!/bin/bash +# +# Title: MariaDB +# Author(s): MariaDB Foundation +# URL: https://mariadb.com - https://github.com/docker-library/mariadb +# GNU: General Public License v2.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: +# CORE (MANDATORY) DO NOT CHANGE ########################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: "mariadb" + intport: "3306" + extport: "9191" + image: "mariadb:latest" + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + +# LABELS ################################################################ + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/var/lib/mysql' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + MYSQL_ROOT_PASSWORD: plexguide + + # MAIN DEPLOYMENT ############################################################## + + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' + + # POST DEPLOYMENT ############################################################## + + - name: 'Post Deployment Notes' + debug: + msg: "\n* Login: root:plexguide *\n" \ No newline at end of file diff --git a/apps/pydio-cells.yml b/apps/pydio-cells.yml new file mode 100644 index 0000000..14acc98 --- /dev/null +++ b/apps/pydio-cells.yml @@ -0,0 +1,73 @@ +#!/bin/bash +# +# Title: Pydio Cells +# Author(s): Pydio +# URL: https://pydio.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: +# CORE (MANDATORY) DO NOT CHANGE ########################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: "pydio-cells" + intport: "8080" + extport: "8585" + image: "pydio/cells:latest" + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + +# LABELS ################################################################ + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}/pydio.json:/root/.config/pydio/cells/pydio.json' + - '/opt/appdata/{{pgrole}}/data:/root/.config/pydio/cells/data' + - '/opt/appdata/{{pgrole}}/logs:/root/.config/pydio/cells/logs' + - '/opt/appdata/{{pgrole}}/services:/root/.config/pydio/cells/services' + - '/mnt:/mnt' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + CELLS_BIND: localhost:8080 + CELLS_EXTERNAL: '{{pgrole}}.{{domain.stdout}},{{tldset}}' + + + # MAIN DEPLOYMENT ############################################################## + + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' + + # POST DEPLOYMENT ############################################################## + + - name: 'Post Deployment Notes' + debug: + msg: "\n* Pydio Cells requires a MySQL or MariaDB database (not included) *\n* Version 5.6 or higher (or MariaDB equivalent) *\n" diff --git a/apps/pydio.yml b/apps/pydio.yml new file mode 100644 index 0000000..6733400 --- /dev/null +++ b/apps/pydio.yml @@ -0,0 +1,70 @@ +#!/bin/bash +# +# Title: Pydio (formerly AjaXplorer) +# Author(s): Pydio, linuxserver +# URL: https://pydio.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: +# CORE (MANDATORY) DO NOT CHANGE ########################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: "pydio" + intport: "443" + extport: "9149" + image: "linuxserver/pydio:latest" + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + +# LABELS ################################################################ + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}/config:/config' + - '/opt/appdata/{{pgrole}}/data:/data' + - '/mnt:/mnt' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: 1000 + PGID: 1000 + + # MAIN DEPLOYMENT ############################################################## + + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' + + # POST DEPLOYMENT ############################################################## + + - name: 'Post Deployment Notes' + debug: + msg: "\n* You must create a user and database for pydio to use in a mysql/mariadb or postgresql server.\n* You can use sqlite with no further config needed, but this should only be considered for testing purposes.\n* In the setup page for database, use the ip address rather than hostname..." \ No newline at end of file diff --git a/apps/sickchill.yml b/apps/sickchill.yml new file mode 100644 index 0000000..eb5a149 --- /dev/null +++ b/apps/sickchill.yml @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Title: sickchill +# Author(s): Alexis Tyler, miigotu, fernandog, sickchill community, binhex +# URL: https://sickchill.github.io/ - https://github.com/SickChill/SickChill +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: +# CORE (MANDATORY) DO NOT CHANGE ########################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: "sickchill" + intport: "8081" + extport: "9292" + image: "binhex/arch-sickchill:latest" + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + +# LABELS ################################################################ + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '{{path.stdout}}/downloads/{{pgrole}}:/data' + - '/mnt:/media' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: 1000 + PGID: 1000 + + + # MAIN DEPLOYMENT ############################################################## + + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' \ No newline at end of file diff --git a/apps/sickrage.yml b/apps/sickrage.yml new file mode 100644 index 0000000..1c561d0 --- /dev/null +++ b/apps/sickrage.yml @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Title: sickrage +# Author(s): echel0n, linuxserver +# URL: https://www.sickrage.ca/ - https://git.sickrage.ca/SiCKRAGE/sickrage +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: +# CORE (MANDATORY) DO NOT CHANGE ########################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: "sickrage" + intport: "8081" + extport: "9191" + image: "linuxserver/sickrage:latest" + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + +# LABELS ################################################################ + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '{{path.stdout}}/unionfs/{{pgrole}}/:/tv' + - '{{path.stdout}}/downloads/{{pgrole}}/:/downloads' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: 1000 + PGID: 1000 + + + # MAIN DEPLOYMENT ############################################################## + + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' \ No newline at end of file From 934ce9e9d0e3067001fae27436f613a5b4167c0b Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Wed, 20 Feb 2019 23:34:05 -0500 Subject: [PATCH 5/5] Moved untested playbooks to staging branch, reverting last shoko commit --- apps/couchpotato.yml | 71 ------------------------------------------ apps/mariadb.yml | 67 ---------------------------------------- apps/pydio-cells.yml | 73 -------------------------------------------- apps/pydio.yml | 70 ------------------------------------------ apps/sickchill.yml | 65 --------------------------------------- apps/sickrage.yml | 65 --------------------------------------- 6 files changed, 411 deletions(-) delete mode 100644 apps/couchpotato.yml delete mode 100644 apps/mariadb.yml delete mode 100644 apps/pydio-cells.yml delete mode 100644 apps/pydio.yml delete mode 100644 apps/sickchill.yml delete mode 100644 apps/sickrage.yml diff --git a/apps/couchpotato.yml b/apps/couchpotato.yml deleted file mode 100644 index 9fe4c46..0000000 --- a/apps/couchpotato.yml +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash -# -# Title: CouchPotato -# Author(s): Ruud Burger, Clinton Hall, YourHuckleberry, linuxserver -# URL: http://couchpota.to - https://github.com/CouchPotato/CouchPotatoServer/ -# GNU: General Public License v3.0 -################################################################################ ---- -- hosts: localhost - gather_facts: false - tasks: -# CORE (MANDATORY) DO NOT CHANGE ########################################### - - - name: 'Set Known Facts' - set_fact: - pgrole: "couchpotato" - intport: "5050" - extport: "5050" - image: "linuxserver/couchpotato:latest" - - - name: 'Including cron job' - include_tasks: '/opt/communityapps/apps/_core.yml' - -# LABELS ################################################################ - - name: 'Adding Traefik' - set_fact: - pg_labels: - traefik.frontend.auth.forward.address: '{{gauth}}' - traefik.enable: 'true' - traefik.port: '{{intport}}' - traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - name: 'Setting PG Volumes' - set_fact: - pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}/unionfs/{{pgrole}}/:/movies' - - '{{path.stdout}}/downloads/{{pgrole}}/:/downloads' - - '/etc/localtime:/etc/localtime:ro' - - - name: 'Setting PG ENV' - set_fact: - pg_env: - PUID: 1000 - PGID: 1000 - - - # MAIN DEPLOYMENT ############################################################## - - - name: 'Deploying {{pgrole}}' - docker_container: - name: '{{pgrole}}' - image: '{{image}}' - pull: yes - published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - volumes: '{{pg_volumes}}' - env: '{{pg_env}}' - restart_policy: unless-stopped - networks: - - name: plexguide - aliases: - - '{{pgrole}}' - state: started - labels: '{{pg_labels}}' - - # POST DEPLOYMENT ############################################################## - - - name: 'Post Deployment Notes' - debug: - msg: "\n* Login: root:plexguide *\n" \ No newline at end of file diff --git a/apps/mariadb.yml b/apps/mariadb.yml deleted file mode 100644 index 4f55c97..0000000 --- a/apps/mariadb.yml +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/bash -# -# Title: MariaDB -# Author(s): MariaDB Foundation -# URL: https://mariadb.com - https://github.com/docker-library/mariadb -# GNU: General Public License v2.0 -################################################################################ ---- -- hosts: localhost - gather_facts: false - tasks: -# CORE (MANDATORY) DO NOT CHANGE ########################################### - - - name: 'Set Known Facts' - set_fact: - pgrole: "mariadb" - intport: "3306" - extport: "9191" - image: "mariadb:latest" - - - name: 'Including cron job' - include_tasks: '/opt/communityapps/apps/_core.yml' - -# LABELS ################################################################ - - name: 'Adding Traefik' - set_fact: - pg_labels: - traefik.frontend.auth.forward.address: '{{gauth}}' - traefik.enable: 'true' - traefik.port: '{{intport}}' - traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - name: 'Setting PG Volumes' - set_fact: - pg_volumes: - - '/opt/appdata/{{pgrole}}:/var/lib/mysql' - - '/etc/localtime:/etc/localtime:ro' - - - name: 'Setting PG ENV' - set_fact: - pg_env: - MYSQL_ROOT_PASSWORD: plexguide - - # MAIN DEPLOYMENT ############################################################## - - - name: 'Deploying {{pgrole}}' - docker_container: - name: '{{pgrole}}' - image: '{{image}}' - pull: yes - published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - volumes: '{{pg_volumes}}' - env: '{{pg_env}}' - restart_policy: unless-stopped - networks: - - name: plexguide - aliases: - - '{{pgrole}}' - state: started - labels: '{{pg_labels}}' - - # POST DEPLOYMENT ############################################################## - - - name: 'Post Deployment Notes' - debug: - msg: "\n* Login: root:plexguide *\n" \ No newline at end of file diff --git a/apps/pydio-cells.yml b/apps/pydio-cells.yml deleted file mode 100644 index 14acc98..0000000 --- a/apps/pydio-cells.yml +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/bash -# -# Title: Pydio Cells -# Author(s): Pydio -# URL: https://pydio.com -# GNU: General Public License v3.0 -################################################################################ ---- -- hosts: localhost - gather_facts: false - tasks: -# CORE (MANDATORY) DO NOT CHANGE ########################################### - - - name: 'Set Known Facts' - set_fact: - pgrole: "pydio-cells" - intport: "8080" - extport: "8585" - image: "pydio/cells:latest" - - - name: 'Including cron job' - include_tasks: '/opt/communityapps/apps/_core.yml' - -# LABELS ################################################################ - - name: 'Adding Traefik' - set_fact: - pg_labels: - traefik.frontend.auth.forward.address: '{{gauth}}' - traefik.enable: 'true' - traefik.port: '{{intport}}' - traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - name: 'Setting PG Volumes' - set_fact: - pg_volumes: - - '/opt/appdata/{{pgrole}}/pydio.json:/root/.config/pydio/cells/pydio.json' - - '/opt/appdata/{{pgrole}}/data:/root/.config/pydio/cells/data' - - '/opt/appdata/{{pgrole}}/logs:/root/.config/pydio/cells/logs' - - '/opt/appdata/{{pgrole}}/services:/root/.config/pydio/cells/services' - - '/mnt:/mnt' - - '/etc/localtime:/etc/localtime:ro' - - - name: 'Setting PG ENV' - set_fact: - pg_env: - CELLS_BIND: localhost:8080 - CELLS_EXTERNAL: '{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - # MAIN DEPLOYMENT ############################################################## - - - name: 'Deploying {{pgrole}}' - docker_container: - name: '{{pgrole}}' - image: '{{image}}' - pull: yes - published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - volumes: '{{pg_volumes}}' - env: '{{pg_env}}' - restart_policy: unless-stopped - networks: - - name: plexguide - aliases: - - '{{pgrole}}' - state: started - labels: '{{pg_labels}}' - - # POST DEPLOYMENT ############################################################## - - - name: 'Post Deployment Notes' - debug: - msg: "\n* Pydio Cells requires a MySQL or MariaDB database (not included) *\n* Version 5.6 or higher (or MariaDB equivalent) *\n" diff --git a/apps/pydio.yml b/apps/pydio.yml deleted file mode 100644 index 6733400..0000000 --- a/apps/pydio.yml +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/bash -# -# Title: Pydio (formerly AjaXplorer) -# Author(s): Pydio, linuxserver -# URL: https://pydio.com -# GNU: General Public License v3.0 -################################################################################ ---- -- hosts: localhost - gather_facts: false - tasks: -# CORE (MANDATORY) DO NOT CHANGE ########################################### - - - name: 'Set Known Facts' - set_fact: - pgrole: "pydio" - intport: "443" - extport: "9149" - image: "linuxserver/pydio:latest" - - - name: 'Including cron job' - include_tasks: '/opt/communityapps/apps/_core.yml' - -# LABELS ################################################################ - - name: 'Adding Traefik' - set_fact: - pg_labels: - traefik.frontend.auth.forward.address: '{{gauth}}' - traefik.enable: 'true' - traefik.port: '{{intport}}' - traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - name: 'Setting PG Volumes' - set_fact: - pg_volumes: - - '/opt/appdata/{{pgrole}}/config:/config' - - '/opt/appdata/{{pgrole}}/data:/data' - - '/mnt:/mnt' - - '/etc/localtime:/etc/localtime:ro' - - - name: 'Setting PG ENV' - set_fact: - pg_env: - PUID: 1000 - PGID: 1000 - - # MAIN DEPLOYMENT ############################################################## - - - name: 'Deploying {{pgrole}}' - docker_container: - name: '{{pgrole}}' - image: '{{image}}' - pull: yes - published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - volumes: '{{pg_volumes}}' - env: '{{pg_env}}' - restart_policy: unless-stopped - networks: - - name: plexguide - aliases: - - '{{pgrole}}' - state: started - labels: '{{pg_labels}}' - - # POST DEPLOYMENT ############################################################## - - - name: 'Post Deployment Notes' - debug: - msg: "\n* You must create a user and database for pydio to use in a mysql/mariadb or postgresql server.\n* You can use sqlite with no further config needed, but this should only be considered for testing purposes.\n* In the setup page for database, use the ip address rather than hostname..." \ No newline at end of file diff --git a/apps/sickchill.yml b/apps/sickchill.yml deleted file mode 100644 index eb5a149..0000000 --- a/apps/sickchill.yml +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/bash -# -# Title: sickchill -# Author(s): Alexis Tyler, miigotu, fernandog, sickchill community, binhex -# URL: https://sickchill.github.io/ - https://github.com/SickChill/SickChill -# GNU: General Public License v3.0 -################################################################################ ---- -- hosts: localhost - gather_facts: false - tasks: -# CORE (MANDATORY) DO NOT CHANGE ########################################### - - - name: 'Set Known Facts' - set_fact: - pgrole: "sickchill" - intport: "8081" - extport: "9292" - image: "binhex/arch-sickchill:latest" - - - name: 'Including cron job' - include_tasks: '/opt/communityapps/apps/_core.yml' - -# LABELS ################################################################ - - name: 'Adding Traefik' - set_fact: - pg_labels: - traefik.frontend.auth.forward.address: '{{gauth}}' - traefik.enable: 'true' - traefik.port: '{{intport}}' - traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - name: 'Setting PG Volumes' - set_fact: - pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}/downloads/{{pgrole}}:/data' - - '/mnt:/media' - - '/etc/localtime:/etc/localtime:ro' - - - name: 'Setting PG ENV' - set_fact: - pg_env: - PUID: 1000 - PGID: 1000 - - - # MAIN DEPLOYMENT ############################################################## - - - name: 'Deploying {{pgrole}}' - docker_container: - name: '{{pgrole}}' - image: '{{image}}' - pull: yes - published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - volumes: '{{pg_volumes}}' - env: '{{pg_env}}' - restart_policy: unless-stopped - networks: - - name: plexguide - aliases: - - '{{pgrole}}' - state: started - labels: '{{pg_labels}}' \ No newline at end of file diff --git a/apps/sickrage.yml b/apps/sickrage.yml deleted file mode 100644 index 1c561d0..0000000 --- a/apps/sickrage.yml +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/bash -# -# Title: sickrage -# Author(s): echel0n, linuxserver -# URL: https://www.sickrage.ca/ - https://git.sickrage.ca/SiCKRAGE/sickrage -# GNU: General Public License v3.0 -################################################################################ ---- -- hosts: localhost - gather_facts: false - tasks: -# CORE (MANDATORY) DO NOT CHANGE ########################################### - - - name: 'Set Known Facts' - set_fact: - pgrole: "sickrage" - intport: "8081" - extport: "9191" - image: "linuxserver/sickrage:latest" - - - name: 'Including cron job' - include_tasks: '/opt/communityapps/apps/_core.yml' - -# LABELS ################################################################ - - name: 'Adding Traefik' - set_fact: - pg_labels: - traefik.frontend.auth.forward.address: '{{gauth}}' - traefik.enable: 'true' - traefik.port: '{{intport}}' - traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - name: 'Setting PG Volumes' - set_fact: - pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}/unionfs/{{pgrole}}/:/tv' - - '{{path.stdout}}/downloads/{{pgrole}}/:/downloads' - - '/etc/localtime:/etc/localtime:ro' - - - name: 'Setting PG ENV' - set_fact: - pg_env: - PUID: 1000 - PGID: 1000 - - - # MAIN DEPLOYMENT ############################################################## - - - name: 'Deploying {{pgrole}}' - docker_container: - name: '{{pgrole}}' - image: '{{image}}' - pull: yes - published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - volumes: '{{pg_volumes}}' - env: '{{pg_env}}' - restart_policy: unless-stopped - networks: - - name: plexguide - aliases: - - '{{pgrole}}' - state: started - labels: '{{pg_labels}}' \ No newline at end of file