From e86ed7381bac06c5f16fcbdac903e7472f27f4e3 Mon Sep 17 00:00:00 2001 From: Robert Baker Date: Sun, 17 Mar 2019 20:54:02 -0700 Subject: [PATCH 001/102] fix --- apps/_plugins.yml | 2 +- apps/handbrake.yml | 4 ++-- apps/logarr.yml | 2 +- apps/nzbget-mp4.yml | 14 +++++++------- apps/templates/broken/nzbthrottle.yml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/_plugins.yml b/apps/_plugins.yml index 7e6a747..7a557be 100644 --- a/apps/_plugins.yml +++ b/apps/_plugins.yml @@ -17,5 +17,5 @@ force: yes owner: '1000' group: '1000' - mode: 0755 + mode: 0775 when: copycheck.stat.exists diff --git a/apps/handbrake.yml b/apps/handbrake.yml index 991120f..d1013f4 100644 --- a/apps/handbrake.yml +++ b/apps/handbrake.yml @@ -65,7 +65,7 @@ state: directory owner: '1000' group: '1000' - mode: 0755 + mode: 0775 recurse: yes - name: 'Create complete directory for {{pgrole}}' @@ -74,7 +74,7 @@ state: directory owner: '1000' group: '1000' - mode: 0755 + mode: 0775 recurse: yes - name: 'Deploying {{pgrole}}' diff --git a/apps/logarr.yml b/apps/logarr.yml index e98dc4e..9e59173 100644 --- a/apps/logarr.yml +++ b/apps/logarr.yml @@ -14,7 +14,7 @@ set_fact: pgrole: 'logarr' intport: '80' - extport: '7555' + extport: '7755' image: 'monitorr/logarr:develop' # CORE (MANDATORY) ############################################################ diff --git a/apps/nzbget-mp4.yml b/apps/nzbget-mp4.yml index 32404cd..df25703 100644 --- a/apps/nzbget-mp4.yml +++ b/apps/nzbget-mp4.yml @@ -63,7 +63,7 @@ force: yes owner: 1000 group: 1000 - mode: 0755 + mode: 0775 - name: 'Copy custom install scripts into directory for {{pgrole}}' copy: @@ -73,7 +73,7 @@ force: yes owner: 1000 group: 1000 - mode: 0755 + mode: 0775 - name: 'Copy custom mp4 config into directory for {{pgrole}}' copy: @@ -83,7 +83,7 @@ force: yes owner: 1000 group: 1000 - mode: 0755 + mode: 0775 - name: 'Copy custom NZBGetPostProcess script config into directory for {{pgrole}}' copy: @@ -93,7 +93,7 @@ force: yes owner: 1000 group: 1000 - mode: 0755 + mode: 0775 - name: 'Copy ffmpeg build script into directory for {{pgrole}}' copy: @@ -103,7 +103,7 @@ force: yes owner: 1000 group: 1000 - mode: 0755 + mode: 0775 - name: 'Copy ffmpeg build script into directory for {{pgrole}}' copy: @@ -113,7 +113,7 @@ force: yes owner: 1000 group: 1000 - mode: 0755 + mode: 0775 - name: 'Copy custom init scripts into directory for {{pgrole}}' copy: @@ -123,7 +123,7 @@ force: yes owner: 1000 group: 1000 - mode: 0755 + mode: 0775 # LABELS ###################################################################### - name: 'Adding Traefik' diff --git a/apps/templates/broken/nzbthrottle.yml b/apps/templates/broken/nzbthrottle.yml index 27f3a7d..ac56db7 100644 --- a/apps/templates/broken/nzbthrottle.yml +++ b/apps/templates/broken/nzbthrottle.yml @@ -34,7 +34,7 @@ force: yes owner: '1000' group: '1000' - mode: 0755 + mode: 0775 when: not jsoncheck.stat.exists # LABELS ###################################################################### From 99fc259857d487b75f26209d97453b1cd86196d0 Mon Sep 17 00:00:00 2001 From: h1f0x Date: Sat, 23 Mar 2019 10:02:53 +0100 Subject: [PATCH 002/102] Updated yml for Ansible 2.6 --- apps/traktor.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/apps/traktor.yml b/apps/traktor.yml index f1bf601..0b46d33 100644 --- a/apps/traktor.yml +++ b/apps/traktor.yml @@ -1,7 +1,7 @@ #!/bin/bash # # Title: Traktor docker container - track you Plex TV-Show progress -# Author(s): h1f0x) +# Author(s): h1f0x # URL: https://github.com/h1f0x/docker-trackt-plex-tracker # GNU: General Public License v3.0 ################################################################################ @@ -22,17 +22,6 @@ - name: 'Including cron job' include_tasks: '/opt/communityapps/apps/_core.yml' - - name: 'Including plugins' - include_tasks: '/opt/communityapps/apps/_plugins.yml' - - - name: 'Including folders' - include_tasks: '/opt/communityapps/apps/_downloaders.yml' - - - name: 'Ini Check' - stat: - path: /opt/appdata/{{pgrole}}/core.conf - register: inicheck - # LABELS ###################################################################### - name: 'Adding Traefik' set_fact: @@ -53,8 +42,8 @@ - name: 'Setting PG ENV' set_fact: pg_env: - UID: 1000 - GID: 1000 + UID: '1000' + GID: '1000' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' From 6d9bc83cbb7d7316edbd741fdf4943934b71624a Mon Sep 17 00:00:00 2001 From: h1f0x Date: Sat, 23 Mar 2019 10:03:24 +0100 Subject: [PATCH 003/102] Removed missconfigured tun interface --- apps/traktor.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/traktor.yml b/apps/traktor.yml index 0b46d33..4452565 100644 --- a/apps/traktor.yml +++ b/apps/traktor.yml @@ -61,7 +61,5 @@ aliases: - '{{pgrole}}' privileged: yes - devices: - - '/dev/net/tun' state: started labels: '{{pg_labels}}' From 50a75a5780d867476a7287f161d24d44ce2dbe0b Mon Sep 17 00:00:00 2001 From: Zoink5 Date: Tue, 26 Mar 2019 11:31:31 +0100 Subject: [PATCH 004/102] Removed OAUTH (breaks bitwarden-apps) Using oauth will cause Browser Extensions and Applications to be unable to load the server url properly. Removing this line fixes the problem. Login page is secured by accounts already. --- apps/bitwarden.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/bitwarden.yml b/apps/bitwarden.yml index 7870044..f886a82 100644 --- a/apps/bitwarden.yml +++ b/apps/bitwarden.yml @@ -28,7 +28,6 @@ traefik.enable: 'true' traefik.backend: "{{pgrole}}" traefik.port: '80' - traefik.frontend.auth.forward.address: '{{gauth}}' traefik.frontend.rule: 'Host:bit.{{domain.stdout}},{{pgrole}}.{{domain.stdout}},{{tldset}}' - name: 'Setting PG Volumes' From b0343f8476e58c03c762229a76fcb228ad1bd766 Mon Sep 17 00:00:00 2001 From: dhumphrey7 <47798651+dhumphrey7@users.noreply.github.com> Date: Thu, 28 Mar 2019 16:36:21 -0500 Subject: [PATCH 005/102] Fixed a typo to Nasm package URL was bad for 2.14.02 --- apps/templates/nzbget/ffmpeg-build/build-ffmpeg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/templates/nzbget/ffmpeg-build/build-ffmpeg b/apps/templates/nzbget/ffmpeg-build/build-ffmpeg index 54bd986..fc9fee9 100644 --- a/apps/templates/nzbget/ffmpeg-build/build-ffmpeg +++ b/apps/templates/nzbget/ffmpeg-build/build-ffmpeg @@ -175,7 +175,7 @@ if build "yasm"; then fi if build "nasm"; then - download "http://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.14.02.tar.gz" "nasm.tar.gz" + download "http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.gz" "nasm.tar.gz" cd $PACKAGES/nasm-2.14.02 || exit execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static execute make -j $MJOBS From f20f6135f10726914b7cbef813d4b386590018c1 Mon Sep 17 00:00:00 2001 From: dhumphrey7 <47798651+dhumphrey7@users.noreply.github.com> Date: Thu, 28 Mar 2019 19:06:32 -0500 Subject: [PATCH 006/102] Update autoProcess.ini --- apps/templates/nzbget/MP4_Automator/autoProcess.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/templates/nzbget/MP4_Automator/autoProcess.ini b/apps/templates/nzbget/MP4_Automator/autoProcess.ini index d0427a6..8122743 100644 --- a/apps/templates/nzbget/MP4_Automator/autoProcess.ini +++ b/apps/templates/nzbget/MP4_Automator/autoProcess.ini @@ -39,7 +39,7 @@ video-max-width = h264-max-level = 4.1 use-qsv-decoder-with-encoder = True use-hevc-qsv-decoder = False -ios-audio = True +ios-audio = libfdk_aac ios-first-track-only = False ios-audio-filter = dynaudnorm max-audio-channels = @@ -48,7 +48,7 @@ audio-language = eng audio-default-language = eng audio-channel-bitrate = 256 audio-filter = -subtitle-codec = mov_text +subtitle-codec = srt subtitle-language = eng subtitle-default-language = subtitle-encoding = @@ -58,7 +58,7 @@ tagfile = True tag-language = en download-artwork = Poster download-subs = True -embed-subs = True +embed-subs = False sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles permissions = 0777 post-process = False From a143e8965e4ff97fc853b6b42af1647be23ecd8b Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sun, 31 Mar 2019 21:58:44 +0200 Subject: [PATCH 007/102] Repo change Old repo dont work anymore --- apps/deezloaderremix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/deezloaderremix.yml b/apps/deezloaderremix.yml index 6399ca9..c0a1354 100644 --- a/apps/deezloaderremix.yml +++ b/apps/deezloaderremix.yml @@ -15,7 +15,7 @@ pgrole: 'deezloaderremix' intport: '1730' extport: '1730' - image: 'zachawii/deezloaderremix' + image: 'bocki/deezloaderrmx' # CORE (MANDATORY) ############################################################ - name: 'Always have a backup plan' From fd1b313099781dbecd46ca66745a1a853ef6eb7c Mon Sep 17 00:00:00 2001 From: Admin9705 <24727006+Admin9705@users.noreply.github.com> Date: Tue, 2 Apr 2019 00:19:21 -0400 Subject: [PATCH 008/102] Update README.md --- README.md | 64 ++++++++++++++++++------------------------------------- 1 file changed, 21 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index cbab32b..64834bd 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,23 @@ -📂 [**Click Here**](https://goo.gl/7NR3Da) - Sign up for Google's Suite for Business - Unlimited Space - -📂 [**Click Here**](https://controlpanel.newshosting.com/signup/index.php?promo=partners&a_aid=5a65169240efd&a_bid=5ecfe99b) - NZB's with from NewsHost - PG Members Receive a 58% Discount - +##### WANT TO HELP? CLICK THE ★ (STAR LOGO) in the Upper-Right!

- - - - -

- -_**Table of Contents**_ - -1. [General Intro](#1-general-intro) -2. [YouTube Video - Intro](#2-youtube-video---intro) -3. [Summary](#3-summary) - ----- -# 1. General Intro - -**PG Box Community:** PG Community is a PG repo that collects and stores accepted user container writeups for community usage install. User can add programs such as Radarr4k or other unique programs that others may want to utlize. - -

-

Manage PGBlitz - AnyTime, Anywhere!

- -Forum Node for Community Box: [ CLICK HERE ](https://pgblitz.com/forums/pg-app-community-box.191/) - -**WARNING: Wiki Under Construction** - -(BETTER EXAMPLES will be provided), but Radarr4k and Sonarr4k serve as general containers until posted! - -In order for apps show up under the Community App Store, users must select or push apps from within the app folder of this repo. Do not worry, the apps automatically show up under the community app store and are segerated from the official containers that are built and supported by PG. - -# 2. YouTube Video - Intro -NOT READY - -# 3. Summary - -PG Box Community Edition is dead simple to use! Have a container in mind? Push containers that benifit the community today! - -📂 [**Click Here**](http://usenetserver.com/partners/?a_aid=5a65169240efd&a_bid=5725b6ed) - NZB's from USENET Server - PG Members Receive a 60% Discount - -

- + + + +

+ +* 📂 [**[Click Here]**](https://goo.gl/7NR3Da) - Google G-Suite (Unlimited Hard Drive Space & Storage) +* 📂 [**[Click Here]**](https://controlpanel.newshosting.com/signup/index.php?promo=partners&a_aid=5a65169240efd&a_bid=5ecfe99b) - Top Performance NewsHost! - Blitz Members Receive a 58% Discount +---- +### **Reference Shortcut -** http://wiki.pgblitz.com | Discord ( !wiki ) +---- + +## 1. PG YouTube + +

+

PGBlitz Introduction Video

+ +

+

PGBlitz Installation Video

+ +[**[Click Here]**](https://pgblitz.com/threads/plexguide-install-instructions.243/) for installation instructions to start the process From 944b9e4f9c65408f6356548489ee7033284ba0bd Mon Sep 17 00:00:00 2001 From: Kieran McEniff Date: Wed, 3 Apr 2019 19:09:52 +0100 Subject: [PATCH 009/102] Updating embystats internal port to 5432 instead of 80. Tested working via portainer --- apps/embystats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/embystats.yml b/apps/embystats.yml index 41651f9..9d67b7a 100644 --- a/apps/embystats.yml +++ b/apps/embystats.yml @@ -14,7 +14,7 @@ - name: 'Set Known Facts' set_fact: pgrole: "embystats" - intport: "80" + intport: "5432" extport: "9049" image: "uping/embystat:beta-linux" From 9e01ca0d31be7f0b919fc6d2b183780e21e68cf7 Mon Sep 17 00:00:00 2001 From: Robert Baker Date: Sun, 17 Mar 2019 21:56:12 -0700 Subject: [PATCH 010/102] ansible warn fix --- apps/deluge.yml | 12 ++++++------ apps/delugevpn.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/deluge.yml b/apps/deluge.yml index 1450fe4..7918f6e 100644 --- a/apps/deluge.yml +++ b/apps/deluge.yml @@ -134,14 +134,14 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"move_completed".*' - line: '"move_completed": true,' + line: '"move_completed": True,' state: present - name: Setting extractor folder lineinfile: path: '/opt/appdata/{{pgrole}}/plugins/extractor.conf' regexp: '"use_name_folder".*' - line: '"use_name_folder": true,' + line: '"use_name_folder": True,' state: present - name: Setting extractor @@ -165,7 +165,7 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"compact_allocation".*' - line: '"compact_allocation": true,' + line: '"compact_allocation": True,' state: present - name: set stop_seed_ratio @@ -186,14 +186,14 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"remove_seed_at_ratio".*' - line: '"remove_seed_at_ratio": true,' + line: '"remove_seed_at_ratio": True,' state: present - name: set enc_prefer_rc4 lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"enc_prefer_rc4".*' - line: '"enc_prefer_rc4": true,' + line: '"enc_prefer_rc4": True,' state: present - name: set enc_level @@ -228,7 +228,7 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"dont_count_slow_torrents".*' - line: '"dont_count_slow_torrents": true,' + line: '"dont_count_slow_torrents": True,' state: present - name: set max_active_seeding diff --git a/apps/delugevpn.yml b/apps/delugevpn.yml index 55976a6..9872189 100644 --- a/apps/delugevpn.yml +++ b/apps/delugevpn.yml @@ -141,14 +141,14 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"move_completed".*' - line: '"move_completed": true,' + line: '"move_completed": True,' state: present - name: Setting extractor folder lineinfile: path: '/opt/appdata/{{pgrole}}/plugins/extractor.conf' regexp: '"use_name_folder".*' - line: '"use_name_folder": true,' + line: '"use_name_folder": True,' state: present - name: Setting extractor @@ -172,7 +172,7 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"compact_allocation".*' - line: '"compact_allocation": true,' + line: '"compact_allocation": True,' state: present - name: set stop_seed_ratio @@ -193,14 +193,14 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"remove_seed_at_ratio".*' - line: '"remove_seed_at_ratio": true,' + line: '"remove_seed_at_ratio": True,' state: present - name: set enc_prefer_rc4 lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"enc_prefer_rc4".*' - line: '"enc_prefer_rc4": true,' + line: '"enc_prefer_rc4": True,' state: present - name: set enc_level @@ -235,7 +235,7 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"dont_count_slow_torrents".*' - line: '"dont_count_slow_torrents": true,' + line: '"dont_count_slow_torrents": True,' state: present - name: set max_active_seeding From 4616dcb025ebe10343d08c7f3a0b008a316ec7cd Mon Sep 17 00:00:00 2001 From: h1f0x Date: Wed, 24 Apr 2019 09:24:38 +0200 Subject: [PATCH 011/102] Varken Docker container Hi Team, Created a single container for Varken! Check it out: https://github.com/h1f0x/centos-varken Cheers --- apps/varken.yml | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 apps/varken.yml diff --git a/apps/varken.yml b/apps/varken.yml new file mode 100644 index 0000000..2011338 --- /dev/null +++ b/apps/varken.yml @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Title: CentOS 7 Varken +# Author(s): h1f0x +# URL: https://github.com/h1f0x/centos-varken +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: 'varken' + intport: '80' + extport: '5985' + image: 'h1f0x/centos-varken' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + + - name: 'Including plugins' + include_tasks: '/opt/communityapps/apps/_plugins.yml' + + # LABELS ###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + UID: '1000' + GID: '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}}' + privileged: yes + state: started + labels: '{{pg_labels}}' From 3f8f55a9a8c584106859ad59f488a4127f8e03cc Mon Sep 17 00:00:00 2001 From: CasperNielsen <27451397+CasperNielsen@users.noreply.github.com> Date: Wed, 1 May 2019 22:45:53 +0200 Subject: [PATCH 012/102] Filezilla Webgui --- apps/filezilla.yml | 79 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 apps/filezilla.yml diff --git a/apps/filezilla.yml b/apps/filezilla.yml new file mode 100644 index 0000000..4eb5f88 --- /dev/null +++ b/apps/filezilla.yml @@ -0,0 +1,79 @@ +#!/bin/bash +# +# Title: Filezilla for PGBlitz (OAuth security) +# Author(s): CasperVN +# URL: https://pgblitz.com - https://github.com/jlesage/docker-filezilla +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: 'filezilla' + intport: '5800' + extport: '5803' + image: 'jlesage/filezilla' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + + - name: 'Including plugins' + include_tasks: '/opt/communityapps/apps/_plugins.yml' + + - name: 'Including folders' + include_tasks: '/opt/communityapps/apps/_downloaders.yml' + + - name: 'Ini Check' + stat: + path: /opt/appdata/{{pgrole}}/core.conf + register: inicheck + + # LABELS ###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt/downloads:/storage:rw' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + UID: '1000' + GID: '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}}' + +##PG-Community + +##PG-Community From d72aaef950ea33ee81bbf40c4d01f54f697f5aa6 Mon Sep 17 00:00:00 2001 From: Cody Date: Mon, 6 May 2019 11:25:14 -0400 Subject: [PATCH 013/102] Update and rename transmission.yml to transmission-vpn.yml Adding '-vpn' to role to avoid confusion. Added DNS servers. Setting OpenVPN config to 'default'. --- apps/{transmission.yml => transmission-vpn.yml} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename apps/{transmission.yml => transmission-vpn.yml} (96%) diff --git a/apps/transmission.yml b/apps/transmission-vpn.yml similarity index 96% rename from apps/transmission.yml rename to apps/transmission-vpn.yml index 67c1086..0ff2e20 100644 --- a/apps/transmission.yml +++ b/apps/transmission-vpn.yml @@ -12,7 +12,7 @@ # FACTS ####################################################################### - name: 'Set Known Facts' set_fact: - pgrole: 'transmission' + pgrole: 'transmission-vpn' pgrole2: 'transmission-rss' intport: '9091' extport: '9091' @@ -63,7 +63,7 @@ PUID: '1000' PGID: '1000' OPENVPN_PROVIDER: 'see available configs at https://git.io/fpCSF' - OPENVPN_CONFIG: 'see available configs at https://git.io/fpCSF' + OPENVPN_CONFIG: 'default' OPENVPN_USERNAME: 'vpnuser' OPENVPN_PASSWORD: 'vpnpass' OPENVPN_OPTS: '--inactive 3600 --ping 10 --ping-exit 60' @@ -103,6 +103,11 @@ restart_policy: unless-stopped devices: - '/dev/net/tun:/dev/net/tun:rwm' + dns_servers: + - 1.1.1.1 + - 84.200.69.80 + - 45.33.97.5 + - 208.67.222.222 capabilities: - NET_ADMIN networks: From 23c2875275c3e782246fd9e394f8467c326da77b Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 15:20:40 +0200 Subject: [PATCH 014/102] Create domoticz.yml --- apps/domoticz.yml | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 apps/domoticz.yml diff --git a/apps/domoticz.yml b/apps/domoticz.yml new file mode 100644 index 0000000..4054ac5 --- /dev/null +++ b/apps/domoticz.yml @@ -0,0 +1,70 @@ +#!/bin/bash +# +# Title: PGBlitz (linuxserver/domoticz) +# Author(s): Admin9705 +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'domoticz' + intport: '8080/tcp' + extport: '8777' + intport2: '6144/udp' + extport2: '6144' + intport3: '1443/tcp' + extport3: '1443' + + image: 'linuxserver/domoticz:stable' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/coreapps/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' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # MAIN DEPLOYMENT ############################################################# + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + - '{{ports.stdout}}{{extport2}}:{{intport2}}' + - '{{ports.stdout}}{{extport3}}:{{intport3}}' + - '{{ports.stdout}}{{extport4}}:{{intport4}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' From 03aba632e0849c676bbda0c8e73b46cc2902b02b Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 15:21:35 +0200 Subject: [PATCH 015/102] Create unifi.yml --- apps/unifi.yml | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 apps/unifi.yml diff --git a/apps/unifi.yml b/apps/unifi.yml new file mode 100644 index 0000000..399c1cb --- /dev/null +++ b/apps/unifi.yml @@ -0,0 +1,89 @@ +#!/bin/bash +# +# Title: PGBlitz (Reference Title File) +# Author(s): Admin9705 +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'unifi' + intport: '3478/udp' + extport: '3478' + intport2: '10001/udp' + extport2: '10001' + intport3: '8080/tcp' + extport3: '8080' + intport4: '8081/tcp' + extport4: '8081' + intport5: '8443/tcp' + extport5: '8443' + intport6: '8880/tcp' + extport6: '8880' + image: 'linuxserver/unifi:latest' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/coreapps/apps/_core.yml' + + # LABELS ###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.enable: 'true' + traefik.tags: 'frontend' + traefik.frontend.passHostHeader: 'true' + traefik.backend: '{{pgrole}}' + traefik.admin.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + traefik.admin.port: '{{intport5}}' + traefik.admin.protocol: 'https' + traefik.frontend.headers.SSLRedirect: 'true' + traefik.frontend.headers.STSSeconds: '315360000' + traefik.frontend.headers.browserXSSFilter: 'true' + traefik.frontend.headers.contentTypeNosniff: 'true' + traefik.frontend.headers.forceSTSHeader: 'true' + traefik.frontend.headers.SSLHost: '{{domain.stdout}}' + traefik.frontend.headers.STSIncludeSubdomains: 'true' + traefik.frontend.headers.STSPreload: 'true' + traefik.frontend.headers.frameDeny: 'true' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # MAIN DEPLOYMENT ############################################################# + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + - '{{ports.stdout}}{{extport2}}:{{intport2}}' + - '{{ports.stdout}}{{extport3}}:{{intport3}}' + - '{{ports.stdout}}{{extport4}}:{{intport4}}' + - '{{ports.stdout}}{{extport5}}:{{intport5}}' + - '{{ports.stdout}}{{extport6}}:{{intport6}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: always + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' From ddb3b05091c4c51fb1bdf2ce3ba58f530961cd0c Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 19:40:55 +0200 Subject: [PATCH 016/102] Create flextv.yml --- apps/flextv.yml | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 apps/flextv.yml diff --git a/apps/flextv.yml b/apps/flextv.yml new file mode 100644 index 0000000..4c69656 --- /dev/null +++ b/apps/flextv.yml @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Title: PGBlitz (digitalhigh/FlexTV) +# Author(s): Admin9705 +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'flextv' + intport: '80/tcp' + extport: '8987' + image: 'digitalhigh/flextv:latest' + + # CORE (MANDATORY) ############################################################ + - 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' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # 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 fd7467591325d129b754ecf66334475dfa100aea Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 20:46:22 +0200 Subject: [PATCH 017/102] Create filebot.yml --- apps/filebot.yml | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 apps/filebot.yml diff --git a/apps/filebot.yml b/apps/filebot.yml new file mode 100644 index 0000000..d030da2 --- /dev/null +++ b/apps/filebot.yml @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Title: PGBlitz (jlesage/filebot) +# Author(s): MrDoob +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'filebot' + intport: '5900' + extport: '5903' + image: 'jlesage/filebot:latest' + + # CORE (MANDATORY) ############################################################ + - 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}}:{{path.stdout}}' + - '/mnt/unionfs:/unionfs:rw' + - '/mnt:/mnt:rw' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # 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 52907c79dfb3cffd4f55b022643928814c727b97 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 20:55:41 +0200 Subject: [PATCH 018/102] Create mediainfo.yml --- apps/mediainfo.yml | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 apps/mediainfo.yml diff --git a/apps/mediainfo.yml b/apps/mediainfo.yml new file mode 100644 index 0000000..f3847f1 --- /dev/null +++ b/apps/mediainfo.yml @@ -0,0 +1,67 @@ +#!/bin/bash +# +# Title: PGBlitz (jlesage/mediainfo) +# Author(s): MrDoob +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'mediainfo' + intport: '5800' + extport: '5806' + intport2: '5900' + extport2: '5907'' + image: 'jlesage/mediainfo:latest' + + # CORE (MANDATORY) ############################################################ + - 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}}:{{path.stdout}}' + - '/mnt/unionfs:/unionfs:rw' + - '/mnt:/mnt:rw' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # 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 69c0bc176117c3fba5368ef4b093bc1ca059a511 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 21:34:24 +0200 Subject: [PATCH 019/102] Update mediainfo.yml --- apps/mediainfo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mediainfo.yml b/apps/mediainfo.yml index f3847f1..3779f7e 100644 --- a/apps/mediainfo.yml +++ b/apps/mediainfo.yml @@ -16,7 +16,7 @@ intport: '5800' extport: '5806' intport2: '5900' - extport2: '5907'' + extport2: '5907' image: 'jlesage/mediainfo:latest' # CORE (MANDATORY) ############################################################ From 1239751d0264dd04862612da2192e4154c60f264 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 21:47:46 +0200 Subject: [PATCH 020/102] Update filebot.yml --- apps/filebot.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/filebot.yml b/apps/filebot.yml index d030da2..bcb6e91 100644 --- a/apps/filebot.yml +++ b/apps/filebot.yml @@ -35,8 +35,7 @@ pg_volumes: - '/opt/appdata/{{pgrole}}:/config' - '{{path.stdout}}:{{path.stdout}}' - - '/mnt/unionfs:/unionfs:rw' - - '/mnt:/mnt:rw' + - '/mnt:/storage:rw' - '/etc/localtime:/etc/localtime:ro' - name: 'Setting PG ENV' From 1a96a82f22b0d458eb06f88b80888f392d2fc5e3 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 21:48:21 +0200 Subject: [PATCH 021/102] Update filebot.yml --- apps/filebot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/filebot.yml b/apps/filebot.yml index bcb6e91..747ae89 100644 --- a/apps/filebot.yml +++ b/apps/filebot.yml @@ -15,7 +15,7 @@ pgrole: 'filebot' intport: '5900' extport: '5903' - image: 'jlesage/filebot:latest' + image: 'jlesage/filebot' # CORE (MANDATORY) ############################################################ - name: 'Including cron job' From 3e1f07b71075218864ec9f2479936e60f064a0b9 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 22:05:53 +0200 Subject: [PATCH 022/102] Update filebot.yml --- apps/filebot.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/filebot.yml b/apps/filebot.yml index 747ae89..e2f0f7c 100644 --- a/apps/filebot.yml +++ b/apps/filebot.yml @@ -13,8 +13,10 @@ - name: 'Set Known Facts' set_fact: pgrole: 'filebot' - intport: '5900' - extport: '5903' + intport: '5800' + extport: '5803' + intport2: '5900' + extport2: '5903' image: 'jlesage/filebot' # CORE (MANDATORY) ############################################################ @@ -53,6 +55,7 @@ pull: yes published_ports: - '{{ports.stdout}}{{extport}}:{{intport}}' + - '{{ports.stdout}}{{extport2}}:{{intport2}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: unless-stopped From 6d34432f292b93a42cc06e1af0ad0df277e86856 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 22:06:18 +0200 Subject: [PATCH 023/102] Update mediainfo.yml --- apps/mediainfo.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/mediainfo.yml b/apps/mediainfo.yml index 3779f7e..a989491 100644 --- a/apps/mediainfo.yml +++ b/apps/mediainfo.yml @@ -56,6 +56,7 @@ pull: yes published_ports: - '{{ports.stdout}}{{extport}}:{{intport}}' + - '{{ports.stdout}}{{extport2}}:{{intport2}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: unless-stopped From a6991f162e5223c0143dbcc0800e1f33d22d0ed5 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 10 May 2019 22:41:29 +0200 Subject: [PATCH 024/102] Create rclonebrowser.yml --- apps/rclonebrowser.yml | 67 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 apps/rclonebrowser.yml diff --git a/apps/rclonebrowser.yml b/apps/rclonebrowser.yml new file mode 100644 index 0000000..876bff1 --- /dev/null +++ b/apps/rclonebrowser.yml @@ -0,0 +1,67 @@ +#!/bin/bash +# +# Title: PGBlitz (rclone browser) +# Author(s): MrDoob +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'rclonebrowser' + intport: '5800' + extport: '5808' + intport2: '5900' + extport2: '5909' + image: 'romancin/rclonebrowser:latest' + + # CORE (MANDATORY) ############################################################ + - 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}}:{{path.stdout}}' + - '/mnt/unionfs:/unionfs:rw' + - '/mnt:/mnt:rw' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # 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 7d6affb0f74c1d6821dd874d59f65f39e6e78e10 Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 01:32:53 -0600 Subject: [PATCH 025/102] Add teamspeak3 alpine image --- apps/teamspeak3.yml | 75 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 apps/teamspeak3.yml diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml new file mode 100644 index 0000000..d36f3c9 --- /dev/null +++ b/apps/teamspeak3.yml @@ -0,0 +1,75 @@ +#!/bin/bash +# +# Title: Teamspeak 3 Alpine +# Author(s): N1ghtshade +# URL: https://plexguide.com - http://github.plexguide.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'teamspeak3' + intport: '9987/udp' + extport: '9987' + intport2: '10011/tcp' + extport2: '10011' + intport3: '30033/tcp' + extport3: '30033' + image: 'qmcgaw/teamspeak3-alpine:latest' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + + # EXTRA FOR TS3 ######################################################### + - name: 'Create {{pgrole}} data and log directories' + file: 'path={{item}} state=directory mode=0700 owner=1000 group=1000 recurse=yes' + with_items: + - '/opt/appdata/{{pgrole}}' + - '/opt/appdata/{{pgrole}}/data' + - '/opt/appdata/{{pgrole}}/logs' + + # LABELS ###################################################################### + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}/data:/data' + - '/opt/appdata/{{pgrole}}/logs:/logs' + + - 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}}' + - '{{ports.stdout}}{{extport2}}:{{intport2}}' + - '{{ports.stdout}}{{extport3}}:{{intport3}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' + + # ENDING TASK FOR TS3 #################################################### + - name: 'Configuring {{pgrole}} for first time use' + block: + - name: 'Wait 30 Seconds' + wait_for: + timeout: 30 From 079355f4bde762b1870156679034e578042a9557 Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 09:44:17 -0600 Subject: [PATCH 026/102] fix pg_labels --- apps/teamspeak3.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index d36f3c9..7d3add8 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -34,7 +34,15 @@ - '/opt/appdata/{{pgrole}}/logs' # LABELS ###################################################################### - - name: 'Setting PG Volumes' +###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.enable: 'false' + traefik.port: '{{intport}}' + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + - name: 'Setting PG Volumes' set_fact: pg_volumes: - '/opt/appdata/{{pgrole}}/data:/data' From 4bada1a014da62e1702bd9c473e9a11e7149457b Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 09:48:04 -0600 Subject: [PATCH 027/102] Fix syntax error --- apps/teamspeak3.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index 7d3add8..a9bd7c7 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -34,7 +34,7 @@ - '/opt/appdata/{{pgrole}}/logs' # LABELS ###################################################################### -###################################################################### + - name: 'Adding Traefik' set_fact: pg_labels: @@ -42,6 +42,8 @@ traefik.port: '{{intport}}' traefik.frontend.auth.forward.address: '{{gauth}}' traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + # VOLUMES ######### + - name: 'Setting PG Volumes' set_fact: pg_volumes: From 12c229caec8cbbbb85410a1a51894a35a3c06474 Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 09:55:40 -0600 Subject: [PATCH 028/102] Fix syntax error --- apps/teamspeak3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index a9bd7c7..3ed04e3 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -44,7 +44,7 @@ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' # VOLUMES ######### - - name: 'Setting PG Volumes' + - name: 'Setting PG Volumes' set_fact: pg_volumes: - '/opt/appdata/{{pgrole}}/data:/data' From 6aa38d0f1558f3287210207bffe9ae7839bed7c2 Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 10:07:22 -0600 Subject: [PATCH 029/102] Add license_accept=1 --- apps/teamspeak3.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index 3ed04e3..f96adec 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -55,6 +55,8 @@ pg_env: PUID: '1000' PGID: '1000' + pg_cmd: + license_accepted: '1' # MAIN DEPLOYMENT ############################################################# @@ -69,6 +71,7 @@ - '{{ports.stdout}}{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' + cmd: '{{pg_cmd}}' restart_policy: unless-stopped networks: - name: plexguide From 5037bfcebdbc1d11911ffb7780a38953843ed67c Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 10:11:03 -0600 Subject: [PATCH 030/102] Update command label --- apps/teamspeak3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index f96adec..5550fa3 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -71,7 +71,7 @@ - '{{ports.stdout}}{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' - cmd: '{{pg_cmd}}' + command: '{{pg_cmd}}' restart_policy: unless-stopped networks: - name: plexguide From 3075d8e2b3498db26587032d98ebed1363175403 Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 10:16:47 -0600 Subject: [PATCH 031/102] Update teamspeak3.yml --- apps/teamspeak3.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index 5550fa3..3ed04e3 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -55,8 +55,6 @@ pg_env: PUID: '1000' PGID: '1000' - pg_cmd: - license_accepted: '1' # MAIN DEPLOYMENT ############################################################# @@ -71,7 +69,6 @@ - '{{ports.stdout}}{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' - command: '{{pg_cmd}}' restart_policy: unless-stopped networks: - name: plexguide From 04c506c99deab81dad05d2df736d449bf6ac7b72 Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 10:18:17 -0600 Subject: [PATCH 032/102] Accept license --- apps/teamspeak3.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index 3ed04e3..48acc35 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -55,6 +55,7 @@ pg_env: PUID: '1000' PGID: '1000' + command: 'license_accepted=1' # MAIN DEPLOYMENT ############################################################# From 2c92331f6e93f7b5157b629299a7fe806d5977d9 Mon Sep 17 00:00:00 2001 From: Nightshade <38169527+n1ghtshade@users.noreply.github.com> Date: Sun, 12 May 2019 10:25:06 -0600 Subject: [PATCH 033/102] Fix Accept License --- apps/teamspeak3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index 48acc35..30d72ff 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -55,7 +55,6 @@ pg_env: PUID: '1000' PGID: '1000' - command: 'license_accepted=1' # MAIN DEPLOYMENT ############################################################# @@ -70,6 +69,7 @@ - '{{ports.stdout}}{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' + command: license_accepted=1 restart_policy: unless-stopped networks: - name: plexguide From b1bcd033d8ed16720c6905f9b2f43debc49bd885 Mon Sep 17 00:00:00 2001 From: CasperNielsen <27451397+CasperNielsen@users.noreply.github.com> Date: Sun, 12 May 2019 21:01:05 +0200 Subject: [PATCH 034/102] Update filezilla.yml Added higher screen resolution. --- apps/filezilla.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/filezilla.yml b/apps/filezilla.yml index 4eb5f88..ac8c81d 100644 --- a/apps/filezilla.yml +++ b/apps/filezilla.yml @@ -55,6 +55,8 @@ pg_env: UID: '1000' GID: '1000' + DISPLAY_WIDTH: '1920' + DISPLAY_HEIGHT: '1080' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' From e4c4162783ca47084d82a97c9296a3dfe4896a0c Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 17 May 2019 16:36:15 +0200 Subject: [PATCH 035/102] Create vnc-xfce.yml --- apps/vnc-xfce.yml | 65 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 apps/vnc-xfce.yml diff --git a/apps/vnc-xfce.yml b/apps/vnc-xfce.yml new file mode 100644 index 0000000..7ee217d --- /dev/null +++ b/apps/vnc-xfce.yml @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Title: PGBlitz (consol/ubuntu-xfce-vnc) +# Author(s): MrDoob +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'vnc-xfce' + intport: '6901' + extport: '6910' + image: 'consol/ubuntu-xfce-vnc' + + # CORE (MANDATORY) ############################################################ + - 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}}:{{path.stdout}}' + - '/mnt/unionfs:/unionfs:rw' + - '/mnt:/mnt:rw' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # 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 ea45234ef62679d0f64e36b04bf5c36443b70c0a Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 17 May 2019 16:39:37 +0200 Subject: [PATCH 036/102] Create calibre-web.yml created by Sejrup --- apps/calibre-web.yml | 66 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 apps/calibre-web.yml diff --git a/apps/calibre-web.yml b/apps/calibre-web.yml new file mode 100644 index 0000000..b2e93ac --- /dev/null +++ b/apps/calibre-web.yml @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Title: PGBlitz (calibre-web) +# Author(s): Sejrup +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'calibre-web' + intport: '8083' + extport: '8083' + image: 'technosoft2000/calibre-web' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/coreapps/apps/_core.yml' + + # LABELS ###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + pg_labels: + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/books' + - '/opt/appdata/{{pgrole}}/config:/calibre-web/config' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + USE_CONFIG_DIR: 'true' + SET_CONTAINER_TIMEZONE: 'true' + CONTAINER_TIMEZONE: 'Europe/Copenhagen' + 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: always + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' From eb4ddf981a8a0456f86b13d76ace39cf973e893a Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 17 May 2019 21:31:44 +0200 Subject: [PATCH 037/102] Update unifi.yml --- apps/unifi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/unifi.yml b/apps/unifi.yml index 399c1cb..857a9ac 100644 --- a/apps/unifi.yml +++ b/apps/unifi.yml @@ -25,7 +25,7 @@ extport5: '8443' intport6: '8880/tcp' extport6: '8880' - image: 'linuxserver/unifi:latest' + image: 'linuxserver/unifi-controller:LTS' # CORE (MANDATORY) ############################################################ - name: 'Including cron job' From e473383bd4a4e2fe3edec30dba1d108430e95157 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 17 May 2019 21:42:37 +0200 Subject: [PATCH 038/102] ports exposed this ports must be exposed for communitcation --- apps/unifi.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/unifi.yml b/apps/unifi.yml index 857a9ac..2daf68e 100644 --- a/apps/unifi.yml +++ b/apps/unifi.yml @@ -72,12 +72,12 @@ image: '{{image}}' pull: yes published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - - '{{ports.stdout}}{{extport2}}:{{intport2}}' - - '{{ports.stdout}}{{extport3}}:{{intport3}}' - - '{{ports.stdout}}{{extport4}}:{{intport4}}' - - '{{ports.stdout}}{{extport5}}:{{intport5}}' - - '{{ports.stdout}}{{extport6}}:{{intport6}}' + - '{{extport}}:{{intport}}' + - '{{extport2}}:{{intport2}}' + - '{{extport3}}:{{intport3}}' + - '{{extport4}}:{{intport4}}' + - '{{extport5}}:{{intport5}}' + - '{{extport6}}:{{intport6}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: always From fc6f2c97fcbca0b8827132e4ce3a91dde416804b Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 17 May 2019 21:45:09 +0200 Subject: [PATCH 039/102] Update unifi.yml --- apps/unifi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/unifi.yml b/apps/unifi.yml index 2daf68e..eec7e2d 100644 --- a/apps/unifi.yml +++ b/apps/unifi.yml @@ -18,7 +18,7 @@ intport2: '10001/udp' extport2: '10001' intport3: '8080/tcp' - extport3: '8080' + extport3: '8088' intport4: '8081/tcp' extport4: '8081' intport5: '8443/tcp' From aba3ae95988937648112b7d37e7cfd632ddd4185 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sat, 18 May 2019 11:30:55 +0200 Subject: [PATCH 040/102] update port conflict with filezilla --- apps/filebot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/filebot.yml b/apps/filebot.yml index e2f0f7c..5fd6f77 100644 --- a/apps/filebot.yml +++ b/apps/filebot.yml @@ -14,7 +14,7 @@ set_fact: pgrole: 'filebot' intport: '5800' - extport: '5803' + extport: '5804' intport2: '5900' extport2: '5903' image: 'jlesage/filebot' From aa8165975590e59644fcbf8542450ff265859b40 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sat, 18 May 2019 11:40:45 +0200 Subject: [PATCH 041/102] Create rdp-calibre.yml --- apps/rdp-calibre.yml | 71 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 apps/rdp-calibre.yml diff --git a/apps/rdp-calibre.yml b/apps/rdp-calibre.yml new file mode 100644 index 0000000..8b5576d --- /dev/null +++ b/apps/rdp-calibre.yml @@ -0,0 +1,71 @@ +#!/bin/bash +# +# Title: PGBlitz (rdp-calibre) +# Author(s): MrDoob +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'rdp-calibre' + intport: '8080' + extport: '8089' + intport2: '8081' + extport2: '8090' + image: 'aptalca/docker-rdp-calibre:latest' + + # CORE (MANDATORY) ############################################################ + - 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:rw' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt/unionfs:/unionfs:rw' + - '/mnt:/mnt:rw' + - '/etc/localtime:/etc/localtime:ro' + - '/mnt/unionfs/libary:/library:rw' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + WIDTH: '1280' + HEIGHT: '720' + + # MAIN DEPLOYMENT ############################################################# + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + - '{{ports.stdout}}{{extport2}}:{{intport2}}' + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' From 9a4e3f8bf31e25bd26436519dc6e7e54e958a8d5 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sat, 18 May 2019 21:08:54 +0200 Subject: [PATCH 042/102] port exposed --- apps/teamspeak3.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/teamspeak3.yml b/apps/teamspeak3.yml index 30d72ff..cf1b51e 100644 --- a/apps/teamspeak3.yml +++ b/apps/teamspeak3.yml @@ -64,9 +64,9 @@ image: '{{image}}' pull: yes published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - - '{{ports.stdout}}{{extport2}}:{{intport2}}' - - '{{ports.stdout}}{{extport3}}:{{intport3}}' + - '{{extport}}:{{intport}}' + - '{{extport2}}:{{intport2}}' + - '{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' command: license_accepted=1 From 47c68732e28176d72a1269b336e381e2dde20fc7 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sun, 19 May 2019 14:46:08 +0200 Subject: [PATCH 043/102] Update sonarrhdr.yml --- apps/sonarrhdr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sonarrhdr.yml b/apps/sonarrhdr.yml index 0541208..3a80027 100644 --- a/apps/sonarrhdr.yml +++ b/apps/sonarrhdr.yml @@ -16,7 +16,7 @@ pgrole: 'sonarrhdr' intport: '8989' extport: '8987' - image: 'lsiodev/sonarr-preview' + image: 'linuxserver/sonarr:preview' # CORE (MANDATORY) ############################################################ - name: 'Including cron job' From 15639d8aa75446d0fc29dfd329b4a234cf09b176 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 17:32:50 +0200 Subject: [PATCH 044/102] Update unifi.yml --- apps/unifi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/unifi.yml b/apps/unifi.yml index eec7e2d..ed6cef6 100644 --- a/apps/unifi.yml +++ b/apps/unifi.yml @@ -25,7 +25,7 @@ extport5: '8443' intport6: '8880/tcp' extport6: '8880' - image: 'linuxserver/unifi-controller:LTS' + image: 'linuxserver/unifi-controller:latest' # CORE (MANDATORY) ############################################################ - name: 'Including cron job' From 71b9860b5a78d4107bae0c16159d107b5730ebb8 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 17:37:14 +0200 Subject: [PATCH 045/102] Create unifi-controller --- apps/image/unifi-controller | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 apps/image/unifi-controller diff --git a/apps/image/unifi-controller b/apps/image/unifi-controller new file mode 100644 index 0000000..371ec56 --- /dev/null +++ b/apps/image/unifi-controller @@ -0,0 +1,2 @@ +linuxserver/unifi-controller:latest +linuxserver/unifi-controller:LTS From 2f40d8e002e7968275e91c7c7eebebade79df621 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 17:46:00 +0200 Subject: [PATCH 046/102] Create kodi-headless.yml --- apps/kodi-headless.yml | 74 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 apps/kodi-headless.yml diff --git a/apps/kodi-headless.yml b/apps/kodi-headless.yml new file mode 100644 index 0000000..86816f2 --- /dev/null +++ b/apps/kodi-headless.yml @@ -0,0 +1,74 @@ +#!/bin/bash +# +# Title: PGBlitz (kodi-headless) +# Author(s): MrDoob +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: 'kodi-headless' + intport: '8080' + extport: '8282' + intport2: '9090' + extport2: '9292' + intport3: '9777' + extport3: '9777/udp' + image: 'linuxserver/kodi-headless:latest' + + # CORE (MANDATORY) ############################################################ + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + + # LABELS ###################################################################### + + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config/.kodi:rw' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt:rw' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # MAIN DEPLOYMENT ############################################################# + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: + - '{{ports.stdout}}{{extport}}:{{intport}}' + - '{{ports.stdout}}{{extport2}}:{{intport2}}' + - '{{extport3}}:{{intport3}}' + + volumes: '{{pg_volumes}}' + env: '{{pg_env}}' + restart_policy: unless-stopped + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' From 11965be81a3bbac2fa3e8aa9bfd9c524445bbd52 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 18:11:07 +0200 Subject: [PATCH 047/102] Update kodi-headless.yml --- apps/kodi-headless.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/apps/kodi-headless.yml b/apps/kodi-headless.yml index 86816f2..132cc86 100644 --- a/apps/kodi-headless.yml +++ b/apps/kodi-headless.yml @@ -1,6 +1,6 @@ #!/bin/bash # -# Title: PGBlitz (kodi-headless) +# Title: PGBlitz (linuxserver/kodi-headless) # Author(s): MrDoob # URL: https://pgblitz.com - http://github.pgblitz.com # GNU: General Public License v3.0 @@ -10,27 +10,25 @@ gather_facts: false tasks: # FACTS ####################################################################### - - name: 'Set Known Facts' set_fact: - pgrole: 'kodi-headless' + pgrole: 'linuxserver/kodi-headless' intport: '8080' - extport: '8282' + extport: '8088' intport2: '9090' - extport2: '9292' + extport2: '9099' intport3: '9777' - extport3: '9777/udp' + extport3: '9777/udp' image: 'linuxserver/kodi-headless:latest' # CORE (MANDATORY) ############################################################ - - name: 'Including cron job' include_tasks: '/opt/communityapps/apps/_core.yml' - - # LABELS ###################################################################### + # LABELS ###################################################################### - name: 'Adding Traefik' set_fact: + pg_labels: pg_labels: traefik.enable: 'true' traefik.port: '{{intport}}' @@ -40,8 +38,7 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config/.kodi:rw' - - '{{path.stdout}}:{{path.stdout}}' + - '/opt/appdata/{{pgrole}}/config:/config/.kodi:rw' - '/mnt:/mnt:rw' - '/etc/localtime:/etc/localtime:ro' @@ -61,11 +58,10 @@ published_ports: - '{{ports.stdout}}{{extport}}:{{intport}}' - '{{ports.stdout}}{{extport2}}:{{intport2}}' - - '{{extport3}}:{{intport3}}' - + - '{{ports.stdout}}{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' - restart_policy: unless-stopped + restart_policy: always networks: - name: plexguide aliases: From 2333b477281effdb757aa5b8404b7263ae7ce783 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 18:20:07 +0200 Subject: [PATCH 048/102] Update kodi-headless.yml --- apps/kodi-headless.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/kodi-headless.yml b/apps/kodi-headless.yml index 132cc86..e4e756c 100644 --- a/apps/kodi-headless.yml +++ b/apps/kodi-headless.yml @@ -28,7 +28,6 @@ # LABELS ###################################################################### - name: 'Adding Traefik' set_fact: - pg_labels: pg_labels: traefik.enable: 'true' traefik.port: '{{intport}}' From b41a216139718180254cef238d2818af863def1e Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 18:32:39 +0200 Subject: [PATCH 049/102] Update kodi-headless.yml --- apps/kodi-headless.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/kodi-headless.yml b/apps/kodi-headless.yml index e4e756c..20e0745 100644 --- a/apps/kodi-headless.yml +++ b/apps/kodi-headless.yml @@ -18,7 +18,7 @@ intport2: '9090' extport2: '9099' intport3: '9777' - extport3: '9777/udp' + extport3: '9777/udp' image: 'linuxserver/kodi-headless:latest' # CORE (MANDATORY) ############################################################ From ca26550001787ffa9288f37af1a4a6af0bc45f6f Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 18:43:24 +0200 Subject: [PATCH 050/102] Update kodi-headless.yml --- apps/kodi-headless.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/kodi-headless.yml b/apps/kodi-headless.yml index 20e0745..69dcd05 100644 --- a/apps/kodi-headless.yml +++ b/apps/kodi-headless.yml @@ -57,7 +57,7 @@ published_ports: - '{{ports.stdout}}{{extport}}:{{intport}}' - '{{ports.stdout}}{{extport2}}:{{intport2}}' - - '{{ports.stdout}}{{extport3}}:{{intport3}}' + - '{{ports.stdout}}{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: always From 860be554a6d9eef1705ad100fee89d9bdbba82a6 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 18:56:36 +0200 Subject: [PATCH 051/102] Rename apps/kodi-headless.yml to apps/templates/broken/kodi-headless.yml --- apps/{ => templates/broken}/kodi-headless.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apps/{ => templates/broken}/kodi-headless.yml (100%) diff --git a/apps/kodi-headless.yml b/apps/templates/broken/kodi-headless.yml similarity index 100% rename from apps/kodi-headless.yml rename to apps/templates/broken/kodi-headless.yml From 047713ae7621353ac32a0f94059e693953c56057 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 19:06:48 +0200 Subject: [PATCH 052/102] Update kodi-headless.yml --- apps/templates/broken/kodi-headless.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/templates/broken/kodi-headless.yml b/apps/templates/broken/kodi-headless.yml index 69dcd05..88ccc68 100644 --- a/apps/templates/broken/kodi-headless.yml +++ b/apps/templates/broken/kodi-headless.yml @@ -12,7 +12,7 @@ # FACTS ####################################################################### - name: 'Set Known Facts' set_fact: - pgrole: 'linuxserver/kodi-headless' + pgrole: 'kodi-headless' intport: '8080' extport: '8088' intport2: '9090' @@ -55,9 +55,9 @@ image: '{{image}}' pull: yes published_ports: - - '{{ports.stdout}}{{extport}}:{{intport}}' - - '{{ports.stdout}}{{extport2}}:{{intport2}}' - - '{{ports.stdout}}{{extport3}}:{{intport3}}' + - '{{extport}}:{{intport}}' + - '{{extport2}}:{{intport2}}' + - '{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: always From 2aa9e939b41e5820741925d789137dff853b1666 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 19:07:02 +0200 Subject: [PATCH 053/102] Rename apps/templates/broken/kodi-headless.yml to apps/kodi-headless.yml --- apps/{templates/broken => }/kodi-headless.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apps/{templates/broken => }/kodi-headless.yml (100%) diff --git a/apps/templates/broken/kodi-headless.yml b/apps/kodi-headless.yml similarity index 100% rename from apps/templates/broken/kodi-headless.yml rename to apps/kodi-headless.yml From 4cbfe25c739c07f4562dde4c34918258f382ad08 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 19:46:51 +0200 Subject: [PATCH 054/102] Create users.auth.php --- apps/templates/dokuwiki/users.auth.php | 1 + 1 file changed, 1 insertion(+) create mode 100644 apps/templates/dokuwiki/users.auth.php diff --git a/apps/templates/dokuwiki/users.auth.php b/apps/templates/dokuwiki/users.auth.php new file mode 100644 index 0000000..052a42b --- /dev/null +++ b/apps/templates/dokuwiki/users.auth.php @@ -0,0 +1 @@ +admin:$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0:DokuWiki Administrator:mail@host.com:admin,user From 1c91bdf9cec788186695a20f5d720ec80e99d497 Mon Sep 17 00:00:00 2001 From: Cody Date: Thu, 23 May 2019 15:16:47 -0400 Subject: [PATCH 055/102] Initial Dozzle commit --- apps/dozzle.yml | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 apps/dozzle.yml diff --git a/apps/dozzle.yml b/apps/dozzle.yml new file mode 100644 index 0000000..f7f87a9 --- /dev/null +++ b/apps/dozzle.yml @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Title: Dozzle +# Author(s): Amir Raminfar (amir20) +# URL: https://dozzle.dev/ - https://github.com/amir20/dozzle +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # CORE (MANDATORY) DO NOT CHANGE ########################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: 'dozzle' + intport: '8080' + extport: '8383' + image: 'amir20/dozzle' + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + + # LABELS #### KEEPS BOTTOM CLEAN ########################################### + - 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: + - '/var/run/docker.sock:/var/run/docker.sock' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + DOZZLE_ADDR: ':8080' + DOZZLE_BASE: '/' + DOZZLE_LEVEL: 'info' + DOZZLE_TAILSIZE: '300' + + # MAIN SCRIPT ############################################################## + + - 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 deccf1de9168edb096ccacdb14b6f26a65edf961 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 23 May 2019 21:37:45 +0200 Subject: [PATCH 056/102] Rename apps/kodi-headless.yml to apps/templates/broken/kodi-headless.yml --- apps/{ => templates/broken}/kodi-headless.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apps/{ => templates/broken}/kodi-headless.yml (100%) diff --git a/apps/kodi-headless.yml b/apps/templates/broken/kodi-headless.yml similarity index 100% rename from apps/kodi-headless.yml rename to apps/templates/broken/kodi-headless.yml From 4e0e586e77c5d92aa5c10e72411aa011736e6aa6 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 24 May 2019 22:28:08 +0200 Subject: [PATCH 057/102] Update flexget.yml line fix empty deleted --- apps/flexget.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/flexget.yml b/apps/flexget.yml index 25faf86..7b375a6 100644 --- a/apps/flexget.yml +++ b/apps/flexget.yml @@ -44,8 +44,6 @@ PUID: '1000' PGID: '1000' - - # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' docker_container: From 6bbd15fe55f9aab70b06591801faeff26895969e Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Fri, 24 May 2019 23:50:16 +0200 Subject: [PATCH 058/102] Add files via upload --- apps/airsonic.yml | 129 +++++++++++++++++++++++----------------------- 1 file changed, 64 insertions(+), 65 deletions(-) diff --git a/apps/airsonic.yml b/apps/airsonic.yml index 25f9cf7..4b38a71 100644 --- a/apps/airsonic.yml +++ b/apps/airsonic.yml @@ -1,65 +1,64 @@ -#!/bin/bash -# -# Title: PGBlitz (Reference Title File) -# Author(s): Admin9705 -# URL: https://pgblitz.com - http://github.pgblitz.com -# GNU: General Public License v3.0 -################################################################################ ---- -- hosts: localhost - gather_facts: false - tasks: - # FACTS ####################################################################### - - name: 'Set Known Facts' - set_fact: - pgrole: 'airsonic' - intport: '4040' - extport: '4040' - image: 'airsonic/airsonic' - - # CORE (MANDATORY) ############################################################ - - name: 'Including cron job' - include_tasks: '/opt/communityapps/apps/_core.yml' - - # LABELS ###################################################################### - - name: 'Adding Traefik' - set_fact: - pg_labels: - traefik.enable: 'true' - traefik.port: '{{intport}}' - traefik.frontend.auth.forward.address: '{{gauth}}' - traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - name: 'Setting PG Volumes' - set_fact: - pg_volumes: - - '/etc/localtime:/etc/localtime:ro' - - '/opt/appdata/{{pgrole}}:/airsonic/data' - - '/opt/appdata/{{pgrole}}/playlists:/airsonic/playlists' - - '/opt/appdata/{{pgrole}}/podcasts:/airsonic/podcasts' - - '{{path.stdout}}:{{path.stdout}}' - - '/mnt:/mnt' - - - 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}}' +#!/bin/bash +# +# Title: PGBlitz (linuxserver/airsonic) +# Author(s): MrDoob +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'airsonic' + intport: '4040' + extport: '4040' + image: 'linuxserver/airsonic' + + # CORE (MANDATORY) ############################################################ + - 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:rw' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt/unionfs:/media:ro' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # MAIN DEPLOYMENT ############################################################# + - name: 'Deploying {{pgrole}}' + docker_container: + name: '{{pgrole}}' + image: '{{image}}' + pull: yes + published_ports: <<< Date: Fri, 24 May 2019 23:55:51 +0200 Subject: [PATCH 059/102] Update airsonic.yml --- apps/airsonic.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/airsonic.yml b/apps/airsonic.yml index 4b38a71..06e8f5d 100644 --- a/apps/airsonic.yml +++ b/apps/airsonic.yml @@ -44,14 +44,14 @@ PUID: '1000' PGID: '1000' TZ: '${TZ}' - + # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' docker_container: name: '{{pgrole}}' image: '{{image}}' pull: yes - published_ports: <<< Date: Sat, 25 May 2019 00:09:40 +0200 Subject: [PATCH 060/102] Add files via upload --- apps/airsonic.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/airsonic.yml b/apps/airsonic.yml index 06e8f5d..4b38a71 100644 --- a/apps/airsonic.yml +++ b/apps/airsonic.yml @@ -44,14 +44,14 @@ PUID: '1000' PGID: '1000' TZ: '${TZ}' - + # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' docker_container: name: '{{pgrole}}' image: '{{image}}' pull: yes - published_ports: + published_ports: <<< Date: Sat, 25 May 2019 00:29:42 +0200 Subject: [PATCH 061/102] Add files via upload --- apps/subsonic.yml | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 apps/subsonic.yml diff --git a/apps/subsonic.yml b/apps/subsonic.yml new file mode 100644 index 0000000..bb68be9 --- /dev/null +++ b/apps/subsonic.yml @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Title: PGBlitz (danisla/subsonic) +# Author(s): MrDoob +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + - name: 'Set Known Facts' + set_fact: + pgrole: 'subsonic' + intport: '4040' + extport: '4040' + image: 'danisla/subsonic' + + # CORE (MANDATORY) ############################################################ + - 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}}/state:/opt/app/state:rw' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt/unionfs:/mnt/music:ro' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + TZ: '${TZ}' + + # 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 0fedc45c4b6cbbc927608df600a3dd32a4d7b295 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sat, 25 May 2019 00:31:18 +0200 Subject: [PATCH 062/102] Update airsonic.yml --- apps/airsonic.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/airsonic.yml b/apps/airsonic.yml index 4b38a71..369bc0e 100644 --- a/apps/airsonic.yml +++ b/apps/airsonic.yml @@ -33,10 +33,12 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}/config:/config:rw' - - '{{path.stdout}}:{{path.stdout}}' - - '/mnt/unionfs:/media:ro' - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}:/airsonic/data' + - '/opt/appdata/{{pgrole}}/playlists:/airsonic/playlists' + - '/opt/appdata/{{pgrole}}/podcasts:/airsonic/podcasts' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' - name: 'Setting PG ENV' set_fact: @@ -51,7 +53,7 @@ name: '{{pgrole}}' image: '{{image}}' pull: yes - published_ports: <<< Date: Mon, 27 May 2019 06:47:35 -0700 Subject: [PATCH 063/102] AVIdemux Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting capabilities. --- apps/avidemux.ym; | 88 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 apps/avidemux.ym; diff --git a/apps/avidemux.ym; b/apps/avidemux.ym; new file mode 100644 index 0000000..8b78e56 --- /dev/null +++ b/apps/avidemux.ym; @@ -0,0 +1,88 @@ +#!/bin/bash +# +# Title: avidemux +# Author(s): timekills +# URL: https://plexguide.com - http://github.plexguide.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: 'avidemux' + intport: '5800' + extport: '5806' +# intport2: '25565' +# extport2: '25565' + image: 'jlesage/avidemux' + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + + # EXTRA FUNCTIONS REQUIRED BY THE ROLE ##################################### + + - name: 'Create scripts directory for {{pgrole}}' + file: + path: /opt/appdata/{{pgrole}}/scripts + state: directory + owner: 1000 + group: 1000 + mode: 0755 + + - name: 'Create plugins directory for {{pgrole}}' + file: + path: /opt/appdata/{{pgrole}}/plugins + state: directory + owner: 1000 + group: 1000 + mode: 0755 + + # LABELS #### KEEPS BOTTOM CLEAN ########################################### + - 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:rw' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: 1000 + PGID: 1000 + # Default width is 1280 If you comment out the next line it will use 1280. + DISPLAY_WIDTH: 1600 + # Default height is 768. If you comment out the next line it will use 768. + DISPLAY_HEIGHT: 960 + + # MAIN SCRIPT ############################################################## + + - 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 8678f3b6e17523daecb292092ce5c9a41d7734ec Mon Sep 17 00:00:00 2001 From: timekills Date: Mon, 27 May 2019 06:47:56 -0700 Subject: [PATCH 064/102] Delete avidemux.ym; --- apps/avidemux.ym; | 88 ----------------------------------------------- 1 file changed, 88 deletions(-) delete mode 100644 apps/avidemux.ym; diff --git a/apps/avidemux.ym; b/apps/avidemux.ym; deleted file mode 100644 index 8b78e56..0000000 --- a/apps/avidemux.ym; +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/bash -# -# Title: avidemux -# Author(s): timekills -# URL: https://plexguide.com - http://github.plexguide.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: 'avidemux' - intport: '5800' - extport: '5806' -# intport2: '25565' -# extport2: '25565' - image: 'jlesage/avidemux' - - - name: 'Including cron job' - include_tasks: '/opt/communityapps/apps/_core.yml' - - # EXTRA FUNCTIONS REQUIRED BY THE ROLE ##################################### - - - name: 'Create scripts directory for {{pgrole}}' - file: - path: /opt/appdata/{{pgrole}}/scripts - state: directory - owner: 1000 - group: 1000 - mode: 0755 - - - name: 'Create plugins directory for {{pgrole}}' - file: - path: /opt/appdata/{{pgrole}}/plugins - state: directory - owner: 1000 - group: 1000 - mode: 0755 - - # LABELS #### KEEPS BOTTOM CLEAN ########################################### - - 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:rw' - - '{{path.stdout}}:{{path.stdout}}' - - '/mnt:/mnt' - - '/etc/localtime:/etc/localtime:ro' - - - name: 'Setting PG ENV' - set_fact: - pg_env: - PUID: 1000 - PGID: 1000 - # Default width is 1280 If you comment out the next line it will use 1280. - DISPLAY_WIDTH: 1600 - # Default height is 768. If you comment out the next line it will use 768. - DISPLAY_HEIGHT: 960 - - # MAIN SCRIPT ############################################################## - - - 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 ed6f0bbf2c9f354c3bae244cf663dc3820f4fe82 Mon Sep 17 00:00:00 2001 From: timekills Date: Mon, 27 May 2019 06:48:29 -0700 Subject: [PATCH 065/102] AVIDemux Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting capabilities. --- apps/avidemux.yml | 88 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 apps/avidemux.yml diff --git a/apps/avidemux.yml b/apps/avidemux.yml new file mode 100644 index 0000000..8b78e56 --- /dev/null +++ b/apps/avidemux.yml @@ -0,0 +1,88 @@ +#!/bin/bash +# +# Title: avidemux +# Author(s): timekills +# URL: https://plexguide.com - http://github.plexguide.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: 'avidemux' + intport: '5800' + extport: '5806' +# intport2: '25565' +# extport2: '25565' + image: 'jlesage/avidemux' + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + + # EXTRA FUNCTIONS REQUIRED BY THE ROLE ##################################### + + - name: 'Create scripts directory for {{pgrole}}' + file: + path: /opt/appdata/{{pgrole}}/scripts + state: directory + owner: 1000 + group: 1000 + mode: 0755 + + - name: 'Create plugins directory for {{pgrole}}' + file: + path: /opt/appdata/{{pgrole}}/plugins + state: directory + owner: 1000 + group: 1000 + mode: 0755 + + # LABELS #### KEEPS BOTTOM CLEAN ########################################### + - 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:rw' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/etc/localtime:/etc/localtime:ro' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: 1000 + PGID: 1000 + # Default width is 1280 If you comment out the next line it will use 1280. + DISPLAY_WIDTH: 1600 + # Default height is 768. If you comment out the next line it will use 768. + DISPLAY_HEIGHT: 960 + + # MAIN SCRIPT ############################################################## + + - 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 107a21900550e2aed341192ad3b5c78920d1e380 Mon Sep 17 00:00:00 2001 From: timekills Date: Thu, 6 Jun 2019 11:48:26 +0430 Subject: [PATCH 066/102] Changed default width and height of GUI Lines 65 and 66. Default width = 1280 Default height =768 You can comment out those two lines to go back to default. --- apps/jd2-openvpn.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/jd2-openvpn.yml b/apps/jd2-openvpn.yml index 292946c..9a0b600 100644 --- a/apps/jd2-openvpn.yml +++ b/apps/jd2-openvpn.yml @@ -62,6 +62,8 @@ pg_env: UID: '1000' GID: '1000' + DISPLAY_WIDTH: '1600' + DISPLAY_HEIGHT: '960' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' From dc2dbf63053da88f366f54a2bfd95eb3e8f6702f Mon Sep 17 00:00:00 2001 From: timekills Date: Thu, 6 Jun 2019 12:18:42 +0430 Subject: [PATCH 067/102] Create firefox Can change width and height of GUI by changing values in the variables under pg-env. Commenting out "DISPLAY_WIDTH" and "DISPLAY HEIGHT" sets the width to 1280 and height to 768 (default values.) --- apps/firefox | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 apps/firefox diff --git a/apps/firefox b/apps/firefox new file mode 100644 index 0000000..b273802 --- /dev/null +++ b/apps/firefox @@ -0,0 +1,87 @@ +#!/bin/bash +# +# Title: firefox +# Author(s): timekills +# URL: https://plexguide.com - http://github.plexguide.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: 'avidemux' + intport: '5800' + extport: '5810' +# intport2: '25565' +# extport2: '25565' + image: 'jlesage/docker-firefox' + + - name: 'Including cron job' + include_tasks: '/opt/communityapps/apps/_core.yml' + + # EXTRA FUNCTIONS REQUIRED BY THE ROLE ##################################### + + - name: 'Create scripts directory for {{pgrole}}' + file: + path: /opt/appdata/{{pgrole}}/scripts + state: directory + owner: 1000 + group: 1000 + mode: 0755 + + - name: 'Create plugins directory for {{pgrole}}' + file: + path: /opt/appdata/{{pgrole}}/plugins + state: directory + owner: 1000 + group: 1000 + mode: 0755 + + # LABELS #### KEEPS BOTTOM CLEAN ########################################### + - 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:rw' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/etc/localtime:/etc/localtime:ro' + - '/dev/shm:/dev/shm:rw' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: 1000 + PGID: 1000 + DISPLAY_WIDTH: 1600 + DISPLAY_HEIGHT: 960 + + # MAIN SCRIPT ############################################################## + + - 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 d24321b22bf65d02cc4277c21b0ad8191f5d71ee Mon Sep 17 00:00:00 2001 From: timekills Date: Thu, 6 Jun 2019 12:21:28 +0430 Subject: [PATCH 068/102] Updated GUI size for Firefox Can change width and height of GUI by changing values in the variables under pg-env. Commenting out "DISPLAY_WIDTH" and "DISPLAY HEIGHT" sets the width to 1280 and height to 768 (default values.) --- apps/{firefox => firefox.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apps/{firefox => firefox.yml} (100%) diff --git a/apps/firefox b/apps/firefox.yml similarity index 100% rename from apps/firefox rename to apps/firefox.yml From 6288cff5c293b9ec157760c1a12630f0050cd285 Mon Sep 17 00:00:00 2001 From: timekills Date: Thu, 6 Jun 2019 12:22:44 +0430 Subject: [PATCH 069/102] Updated GUI size and pgrole for firefox Can change width and height of GUI by changing values in the variables under pg-env. Commenting out "DISPLAY_WIDTH" and "DISPLAY HEIGHT" sets the width to 1280 and height to 768 (default values.) --- apps/firefox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/firefox.yml b/apps/firefox.yml index b273802..4e52dc6 100644 --- a/apps/firefox.yml +++ b/apps/firefox.yml @@ -13,7 +13,7 @@ - name: 'Set Known Facts' set_fact: - pgrole: 'avidemux' + pgrole: 'firefox' intport: '5800' extport: '5810' # intport2: '25565' From 7e1aed27eef41fe1fec7f8b1f514e0368417840a Mon Sep 17 00:00:00 2001 From: timekills Date: Thu, 6 Jun 2019 12:25:13 +0430 Subject: [PATCH 070/102] Update Firefox image to more recent version --- apps/firefox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/firefox.yml b/apps/firefox.yml index 4e52dc6..87c4bab 100644 --- a/apps/firefox.yml +++ b/apps/firefox.yml @@ -18,7 +18,7 @@ extport: '5810' # intport2: '25565' # extport2: '25565' - image: 'jlesage/docker-firefox' + image: 'jlesage/firefox' - name: 'Including cron job' include_tasks: '/opt/communityapps/apps/_core.yml' From 570bca9bf5691276238efed109fafc1d691ecd52 Mon Sep 17 00:00:00 2001 From: timekills Date: Thu, 6 Jun 2019 13:08:47 +0430 Subject: [PATCH 071/102] Create ombi4k.yml By request --- ombi4k.yml | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 ombi4k.yml diff --git a/ombi4k.yml b/ombi4k.yml new file mode 100644 index 0000000..8cd097e --- /dev/null +++ b/ombi4k.yml @@ -0,0 +1,80 @@ +#!/bin/bash +# +# Title: PGBlitz (Reference Title File) +# Author(s): Admin9705 +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: 'ombi4k' + intport: '3579' + extport: '3580' + image: 'linuxserver/ombi' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/coreapps/apps/_core.yml' + + # PRETASKS #################################################################### + - name: Check JSON exists + stat: + path: '/opt/appdata/{{pgrole}}/appsettings.json' + register: jsonfile + + - name: 'Download {{pgrole}} appsettings.json config file' + get_url: + url: https://raw.githubusercontent.com/tidusjar/Ombi/master/src/Ombi/appsettings.json + dest: /opt/appdata/{{pgrole}}/appsettings.json + owner: '1000' + group: '1000' + force: no + ignore_errors: True + when: jsonfile.stat.exists == False + + # LABELS ###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}/appsettings.json:/opt/{{pgrole}}/appsettings.json' + + - 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 9cd9d90bb3abf92113351754360161eaf95829c1 Mon Sep 17 00:00:00 2001 From: timekills Date: Thu, 6 Jun 2019 13:13:10 +0430 Subject: [PATCH 072/102] Delete ombi4k.yml --- ombi4k.yml | 80 ------------------------------------------------------ 1 file changed, 80 deletions(-) delete mode 100644 ombi4k.yml diff --git a/ombi4k.yml b/ombi4k.yml deleted file mode 100644 index 8cd097e..0000000 --- a/ombi4k.yml +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/bash -# -# Title: PGBlitz (Reference Title File) -# Author(s): Admin9705 -# URL: https://pgblitz.com - http://github.pgblitz.com -# GNU: General Public License v3.0 -################################################################################ ---- -- hosts: localhost - gather_facts: false - tasks: - # FACTS ####################################################################### - - - name: 'Set Known Facts' - set_fact: - pgrole: 'ombi4k' - intport: '3579' - extport: '3580' - image: 'linuxserver/ombi' - - # CORE (MANDATORY) ############################################################ - - name: 'Including cron job' - include_tasks: '/opt/coreapps/apps/_core.yml' - - # PRETASKS #################################################################### - - name: Check JSON exists - stat: - path: '/opt/appdata/{{pgrole}}/appsettings.json' - register: jsonfile - - - name: 'Download {{pgrole}} appsettings.json config file' - get_url: - url: https://raw.githubusercontent.com/tidusjar/Ombi/master/src/Ombi/appsettings.json - dest: /opt/appdata/{{pgrole}}/appsettings.json - owner: '1000' - group: '1000' - force: no - ignore_errors: True - when: jsonfile.stat.exists == False - - # LABELS ###################################################################### - - name: 'Adding Traefik' - set_fact: - pg_labels: - traefik.enable: 'true' - traefik.port: '{{intport}}' - traefik.frontend.auth.forward.address: '{{gauth}}' - traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' - - - name: 'Setting PG Volumes' - set_fact: - pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '/etc/localtime:/etc/localtime:ro' - - '/opt/appdata/{{pgrole}}/appsettings.json:/opt/{{pgrole}}/appsettings.json' - - - 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 84b870b373ea279fda91aa658f532d525180189f Mon Sep 17 00:00:00 2001 From: timekills Date: Thu, 6 Jun 2019 13:14:11 +0430 Subject: [PATCH 073/102] Create ombi4k.yml By request --- apps/ombi4k.yml | 80 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 apps/ombi4k.yml diff --git a/apps/ombi4k.yml b/apps/ombi4k.yml new file mode 100644 index 0000000..7674cc2 --- /dev/null +++ b/apps/ombi4k.yml @@ -0,0 +1,80 @@ +#!/bin/bash +# +# Title: Ombi4k (Reference Title File) +# Author(s): Admin9705; timekills mod +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: 'ombi4k' + intport: '3579' + extport: '3580' + image: 'linuxserver/ombi' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/coreapps/apps/_core.yml' + + # PRETASKS #################################################################### + - name: Check JSON exists + stat: + path: '/opt/appdata/{{pgrole}}/appsettings.json' + register: jsonfile + + - name: 'Download {{pgrole}} appsettings.json config file' + get_url: + url: https://raw.githubusercontent.com/tidusjar/Ombi/master/src/Ombi/appsettings.json + dest: /opt/appdata/{{pgrole}}/appsettings.json + owner: '1000' + group: '1000' + force: no + ignore_errors: True + when: jsonfile.stat.exists == False + + # LABELS ###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}/appsettings.json:/opt/{{pgrole}}/appsettings.json' + + - 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 5e1fc0ebc2761b4def7ab3dd2ad3e3386d4a0ce4 Mon Sep 17 00:00:00 2001 From: Artiume Date: Fri, 7 Jun 2019 20:24:19 -0400 Subject: [PATCH 074/102] Update firefox.yml Adds HSTS Compliance --- apps/firefox.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/firefox.yml b/apps/firefox.yml index 87c4bab..c1bd84c 100644 --- a/apps/firefox.yml +++ b/apps/firefox.yml @@ -49,6 +49,16 @@ traefik.enable: 'true' traefik.port: '{{intport}}' traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + traefik.frontend.headers.SSLHost: '{{domain.stdout}}' + traefik.frontend.headers.SSLRedirect: 'true' + traefik.frontend.headers.STSIncludeSubdomains: 'true' + traefik.frontend.headers.STSPreload: 'true' + traefik.frontend.headers.STSSeconds: '315360000' + traefik.frontend.headers.browserXSSFilter: 'true' + traefik.frontend.headers.contentTypeNosniff: 'true' + traefik.frontend.headers.customResponseHeaders: 'X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex' + traefik.frontend.headers.forceSTSHeader: 'true' + #traefik.frontend.headers.frameDeny: 'true' - name: 'Setting PG Volumes' set_fact: From 962a15e1e1ee6942377c8520bb96f58031abe536 Mon Sep 17 00:00:00 2001 From: Artiume Date: Tue, 11 Jun 2019 21:13:06 -0400 Subject: [PATCH 075/102] Update Organizr for HSTS Compliance Adds update for HSTS Compliance. frameDeny enabled will prevent Organizr from being iFrame'd. --- apps/organizr.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/organizr.yml b/apps/organizr.yml index 70530a1..2a89008 100644 --- a/apps/organizr.yml +++ b/apps/organizr.yml @@ -29,6 +29,16 @@ traefik.enable: 'true' traefik.port: '{{intport}}' traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + traefik.frontend.headers.SSLHost: '{{domain.stdout}}' + traefik.frontend.headers.SSLRedirect: 'true' + traefik.frontend.headers.STSIncludeSubdomains: 'true' + traefik.frontend.headers.STSPreload: 'true' + traefik.frontend.headers.STSSeconds: '315360000' + traefik.frontend.headers.browserXSSFilter: 'true' + traefik.frontend.headers.contentTypeNosniff: 'true' + traefik.frontend.headers.customResponseHeaders: 'X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex' + traefik.frontend.headers.forceSTSHeader: 'true' + traefik.frontend.headers.frameDeny: 'true' - name: 'Setting PG Volumes' set_fact: From 022e47a0974520dce20e4a248a03189d0c7a561a Mon Sep 17 00:00:00 2001 From: Cody Date: Sat, 15 Jun 2019 05:58:44 -0400 Subject: [PATCH 076/102] Update and rename rutorrent-openvpn.yml to rutorrent-vpn.yml File/Role rename for simplicity/conformity. --- apps/{rutorrent-openvpn.yml => rutorrent-vpn.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename apps/{rutorrent-openvpn.yml => rutorrent-vpn.yml} (98%) diff --git a/apps/rutorrent-openvpn.yml b/apps/rutorrent-vpn.yml similarity index 98% rename from apps/rutorrent-openvpn.yml rename to apps/rutorrent-vpn.yml index 9fd1766..4824609 100644 --- a/apps/rutorrent-openvpn.yml +++ b/apps/rutorrent-vpn.yml @@ -13,7 +13,7 @@ - name: 'Set Known Facts' set_fact: - pgrole: 'rutorrent-openvpn' + pgrole: 'rutorrent-vpn' intport: '80' extport: '5897' image: 'h1f0x/rtorrent-rutorrent-openvpn' From 5db185c793657da450ffd74d3cf8a23d18ee4c75 Mon Sep 17 00:00:00 2001 From: Cody Date: Sat, 15 Jun 2019 06:00:05 -0400 Subject: [PATCH 077/102] Update and rename rflood-openvpn.yml to rflood-vpn.yml File/Role rename for simplicity/conformity. --- apps/{rflood-openvpn.yml => rflood-vpn.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename apps/{rflood-openvpn.yml => rflood-vpn.yml} (98%) diff --git a/apps/rflood-openvpn.yml b/apps/rflood-vpn.yml similarity index 98% rename from apps/rflood-openvpn.yml rename to apps/rflood-vpn.yml index 552de75..331cbe3 100644 --- a/apps/rflood-openvpn.yml +++ b/apps/rflood-vpn.yml @@ -13,7 +13,7 @@ - name: 'Set Known Facts' set_fact: - pgrole: 'rflood-openvpn' + pgrole: 'rflood' intport: '80' extport: '5896' image: 'h1f0x/rtorrent-flood-openvpn' From ec48789f83cb93046ef4bb33b54cd05bfaed71f2 Mon Sep 17 00:00:00 2001 From: Cody Date: Sat, 15 Jun 2019 06:00:59 -0400 Subject: [PATCH 078/102] Rename delugevpn.yml to deluge-vpn.yml File rename for simplicity/conformity. --- apps/{delugevpn.yml => deluge-vpn.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apps/{delugevpn.yml => deluge-vpn.yml} (100%) diff --git a/apps/delugevpn.yml b/apps/deluge-vpn.yml similarity index 100% rename from apps/delugevpn.yml rename to apps/deluge-vpn.yml From 453fa4c16c36952bdb6507338ded276be454ba1d Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 13:00:59 -0400 Subject: [PATCH 079/102] Initial qbittorrent-vpn commit --- apps/qbittorrent-vpn.yml | 292 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 292 insertions(+) create mode 100644 apps/qbittorrent-vpn.yml diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml new file mode 100644 index 0000000..edb0d85 --- /dev/null +++ b/apps/qbittorrent-vpn.yml @@ -0,0 +1,292 @@ +#!/bin/bash +# +# Title: qBittorrent (with OpenVPN and Privoxy) +# Author(s): Mike Tzou (Chocobo1), Vladimir Golovnev (glassez), Diego Heras (ngosang), binhex +# URL: https://www.qbittorrent.org/ - https://github.com/binhex/arch-qbittorrentvpn +# GNU: General Public License v2.0 (w/ exception) +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: 'qbittorrent' + intport: '8998' + extport: '8998' + intport1: '8118' + extport1: '8118' + intport2: '6881' + extport2: '6881' + dnsserver1: '1.1.1.1' + dnsserver2: '84.200.69.80' + dnsserver3: '37.235.1.174' + dnsserver4: '185.121.177.177' + image: 'binhex/arch-qbittorrentvpn:latest' + + # CORE (MANDATORY) ############################################################# + - name: 'Including cron job' + include_tasks: '/opt/coreapps/apps/_core.yml' + + - name: 'Including folders' + include_tasks: '/opt/coreapps/apps/_downloaders.yml' + + - name: 'Including plugins' + include_tasks: '/opt/coreapps/apps/_plugins.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' + - '/opt/appdata/{{pgrole}}:/config' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + + - name: 'Setting PG ENV' + set_fact: + pg_env: + PUID: '1000' + PGID: '1000' + UMASK: '000' + VPN_ENABLED: 'no' + VPN_USER: 'username' + VPN_PASS: 'password' + VPN_PROV: 'custom' + VPN_OPTIONS: '--inactive 3600 --ping 10 --ping-exit 60' + STRICT_PORT_FORWARD: 'no' + ENABLE_PRIVOXY: 'no' + LAN_NETWORK: '127.20.0.0/16' + NAME_SERVERS: '{{dnsserver1}},{{dnsserver2}},{{dnsserver3}},{{dnsserver4}}' + DEBUG: 'false' + WEBUI_PORT: '{{intport}}' + + + + + # MAIN DEPLOYMENT ############################################################# + - name: 'Checking for existing app data' + stat: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + register: confcheck + + - 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 + devices: + - '/dev/net/tun:/dev/net/tun:rwm' + dns_servers: + - '{{dnsserver1}}' + - '{{dnsserver2}}' + - '{{dnsserver3}}' + - '{{dnsserver4}}' + capabilities: + - NET_ADMIN + networks: + - name: plexguide + aliases: + - '{{pgrole}}' + state: started + labels: '{{pg_labels}}' + + # CONFIGURATION #################################################### + - name: 'Waiting for {{pgrole}} to initialize' + wait_for: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + state: present + timeout: 15 + delay: 5 + + - name: 'Stopping {{pgrole}}' + docker_container: + name: '{{pgrole}}' + state: stopped + + - name: Set SavePath + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Downloads\SavePath + value: '{{path.stdout}}/downloads/{{pgrole}}' + state: present + + + - name: Set TempPathEnabled + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Downloads\TempPathEnabled + value: True + state: present + + # FIRST TIME CONFIGURATION #################################################### + - name: 'Configuring {{pgrole}} for first time use' + block: + - name: Enable AutoRun + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: AutoRun + option: enabled + value: True + state: present + + - name: Enable Auto UnRar + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: AutoRun + option: program + value: '/usr/bin/unrar x -r \"%F/.\" \"%F/\"' + state: present + + - name: Disable DHT + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Bittorrent\DHT + value: false + state: present + + - name: Disable PeX + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Bittorrent\PeX + value: false + state: present + + - name: Disable LSD + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Bittorrent\LSD + value: false + state: present + + - name: Enable Encryption + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Bittorrent\Encryption + value: 1 + state: present + + - name: Don't use incomplete extension + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Downloads\UseIncompleteExtension + value: false + state: present + - name: Ignore slow torrents + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Queueing\IgnoreSlowTorrents + value: True + state: present + - name: Set MaxActiveDownloads + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Queueing\MaxActiveDownloads + value: 10 + state: present + - name: Set MaxActiveTorrents + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Queueing\MaxActiveTorrents + value: 100 + state: present + - name: Set MaxActiveUploads + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Queueing\MaxActiveUploads + value: 100 + state: present + - name: Set GlobalMaxSeedingMinutes + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: BitTorrent + option: Session\GlobalMaxSeedingMinutes + value: 20160 + state: present + - name: Set MaxRatio + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Bittorrent\MaxRatio + value: 1 + state: present + - name: pause on MaxRatioAction + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: Bittorrent\MaxRatioAction + value: 1 + state: present + - name: Disable csrf + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: WebUI\CSRFProtection + value: false + force: yes + state: present + - name: Disable HostHeaderValidation + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: WebUI\HostHeaderValidation + value: false + force: yes + state: present + - name: Disable ClickjackingProtection + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: WebUI\ClickjackingProtection + value: false + force: yes + state: present + + - name: Set ServerDomains + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: WebUI\ServerDomains + value: '*' + force: yes + state: present + - name: Set Address + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + section: Preferences + option: WebUI\Address + value: '*' + force: yes + state: present + + when: not confcheck.stat.exists + - name: Restart {{pgrole}} + docker_container: + name: '{{pgrole}}' + state: started \ No newline at end of file From 1b0cc0aa176d27cf685cd3f83bf4dd03eb593c69 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 13:21:55 -0400 Subject: [PATCH 080/102] Update config path --- apps/qbittorrent-vpn.yml | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index edb0d85..b84a794 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -77,7 +77,7 @@ # MAIN DEPLOYMENT ############################################################# - name: 'Checking for existing app data' stat: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' register: confcheck - name: 'Deploying {{pgrole}}' @@ -109,7 +109,7 @@ # CONFIGURATION #################################################### - name: 'Waiting for {{pgrole}} to initialize' wait_for: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' state: present timeout: 15 delay: 5 @@ -121,7 +121,7 @@ - name: Set SavePath ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Downloads\SavePath value: '{{path.stdout}}/downloads/{{pgrole}}' @@ -130,7 +130,7 @@ - name: Set TempPathEnabled ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Downloads\TempPathEnabled value: True @@ -141,7 +141,7 @@ block: - name: Enable AutoRun ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: AutoRun option: enabled value: True @@ -149,7 +149,7 @@ - name: Enable Auto UnRar ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: AutoRun option: program value: '/usr/bin/unrar x -r \"%F/.\" \"%F/\"' @@ -157,7 +157,7 @@ - name: Disable DHT ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\DHT value: false @@ -165,7 +165,7 @@ - name: Disable PeX ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\PeX value: false @@ -173,7 +173,7 @@ - name: Disable LSD ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\LSD value: false @@ -181,7 +181,7 @@ - name: Enable Encryption ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\Encryption value: 1 @@ -189,63 +189,63 @@ - name: Don't use incomplete extension ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Downloads\UseIncompleteExtension value: false state: present - name: Ignore slow torrents ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Queueing\IgnoreSlowTorrents value: True state: present - name: Set MaxActiveDownloads ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Queueing\MaxActiveDownloads value: 10 state: present - name: Set MaxActiveTorrents ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Queueing\MaxActiveTorrents value: 100 state: present - name: Set MaxActiveUploads ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Queueing\MaxActiveUploads value: 100 state: present - name: Set GlobalMaxSeedingMinutes ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: BitTorrent option: Session\GlobalMaxSeedingMinutes value: 20160 state: present - name: Set MaxRatio ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\MaxRatio value: 1 state: present - name: pause on MaxRatioAction ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\MaxRatioAction value: 1 state: present - name: Disable csrf ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\CSRFProtection value: false @@ -253,7 +253,7 @@ state: present - name: Disable HostHeaderValidation ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\HostHeaderValidation value: false @@ -261,7 +261,7 @@ state: present - name: Disable ClickjackingProtection ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\ClickjackingProtection value: false @@ -270,7 +270,7 @@ - name: Set ServerDomains ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\ServerDomains value: '*' @@ -278,7 +278,7 @@ state: present - name: Set Address ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\Address value: '*' From e871e79fcd4693cfd8a7658e7c1d1a7ac5067c30 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 14:40:32 -0400 Subject: [PATCH 081/102] Additional WebUI, blocklist config --- apps/qbittorrent-vpn.yml | 51 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index b84a794..46f70d5 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -87,6 +87,8 @@ pull: yes published_ports: - '{{ports.stdout}}{{extport}}:{{intport}}' + - '{{ports.stdout}}{{extport1}}:{{intport1}}' + - '{{ports.stdout}}{{extport2}}:{{intport2}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: unless-stopped @@ -136,6 +138,10 @@ value: True state: present + - name: Get latest blocklist + shell: /usr/bin/curl -L http://john.bitsurge.net/public/biglist.p2p.gz | /usr/bin/gzip -cdf > /config/qBittorrent/config/biglist.p2p + + # FIRST TIME CONFIGURATION #################################################### - name: 'Configuring {{pgrole}} for first time use' block: @@ -284,6 +290,51 @@ value: '*' force: yes state: present + + - name: Set Port + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' + section: Preferences + option: Connection\PortRangeMin + value: '{{intport2}}' + force: yes + state: present + + - name: Set torrent Watch folder + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' + section: Preferences + option: Downloads\ScanDirsV2 + value: '@Variant(\0\0\0\x1c\0\0\0\x1\0\0\0$\0/\0m\0n\0t\0/\0t\0o\0r\0r\0\x65\0n\0t\0/\0w\0\x61\0t\0\x63\0h\0\0\0\x2\0\0\0\0)' + force: yes + state: present + + - name: Set Blocklist enabled + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' + section: Preferences + option: IPFilter\Enabled + value: 'true' + force: yes + state: present + + - name: Set Blocklist location + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' + section: Preferences + option: IPFilter\File + value: '/config/qBittorrent/config/biglist.p2p' + force: yes + state: present + + - name: Set default login + ini_file: + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' + section: Preferences + option: WebUI\Password_ha1 + value: '@ByteArray(22f616dbc8cdb4aa96105b1c8f36ea63)' + force: yes + state: present when: not confcheck.stat.exists - name: Restart {{pgrole}} From cb039c47f35f186a754b8119ff4263b13d3ae05e Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 14:42:34 -0400 Subject: [PATCH 082/102] Blocklist path update --- apps/qbittorrent-vpn.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index 46f70d5..8a7a93d 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -139,7 +139,7 @@ state: present - name: Get latest blocklist - shell: /usr/bin/curl -L http://john.bitsurge.net/public/biglist.p2p.gz | /usr/bin/gzip -cdf > /config/qBittorrent/config/biglist.p2p + shell: /usr/bin/curl -L http://john.bitsurge.net/public/biglist.p2p.gz | /usr/bin/gzip -cdf > /opt/appdata/{{pgrole}}/qBittorrent/config/biglist.p2p # FIRST TIME CONFIGURATION #################################################### From 23aec4d022b311af26906d3599c252a050ab8772 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 14:46:42 -0400 Subject: [PATCH 083/102] Removed hardcoded exe location --- apps/qbittorrent-vpn.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index 8a7a93d..b160be6 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -139,7 +139,7 @@ state: present - name: Get latest blocklist - shell: /usr/bin/curl -L http://john.bitsurge.net/public/biglist.p2p.gz | /usr/bin/gzip -cdf > /opt/appdata/{{pgrole}}/qBittorrent/config/biglist.p2p + shell: curl -L http://john.bitsurge.net/public/biglist.p2p.gz | gzip -cdf > /opt/appdata/{{pgrole}}/qBittorrent/config/biglist.p2p # FIRST TIME CONFIGURATION #################################################### From 8e1f47c95e7dde9bc1f2c50f2985f0e21f1f6672 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 15:08:04 -0400 Subject: [PATCH 084/102] Initialize ovpn folder --- apps/qbittorrent-vpn.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index b160be6..5fad3fd 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -140,6 +140,17 @@ - name: Get latest blocklist shell: curl -L http://john.bitsurge.net/public/biglist.p2p.gz | gzip -cdf > /opt/appdata/{{pgrole}}/qBittorrent/config/biglist.p2p + + - name: 'Checking for existing openvpn folder' + stat: + path: '/opt/appdata/{{pgrole}}/openvpn' + register: ovpncheck + + - name: Initialize opvn + block: + - name: Create opvn folder + shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OPVN\ files\ go\ here > && chown -R {{PUID}}:{{PGID}} /opt/appdata/{{pgrole}}/openvpn + when: not opvncheck.stat.exists # FIRST TIME CONFIGURATION #################################################### From 0d82d0ae93523fb109ee4efd3b5896497ef34d41 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 15:11:23 -0400 Subject: [PATCH 085/102] Fix typo --- apps/qbittorrent-vpn.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index 5fad3fd..9aa131f 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -150,7 +150,7 @@ block: - name: Create opvn folder shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OPVN\ files\ go\ here > && chown -R {{PUID}}:{{PGID}} /opt/appdata/{{pgrole}}/openvpn - when: not opvncheck.stat.exists + when: not ovpncheck.stat.exists # FIRST TIME CONFIGURATION #################################################### From fd1aa0d61e407009d82c5fa19222616a4ac94d1e Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 15:16:24 -0400 Subject: [PATCH 086/102] Set puid,pgid as global attrib --- apps/qbittorrent-vpn.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index 9aa131f..38f132d 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -24,6 +24,8 @@ dnsserver2: '84.200.69.80' dnsserver3: '37.235.1.174' dnsserver4: '185.121.177.177' + puid: '1000' + pgid: '1000' image: 'binhex/arch-qbittorrentvpn:latest' # CORE (MANDATORY) ############################################################# @@ -56,8 +58,8 @@ - name: 'Setting PG ENV' set_fact: pg_env: - PUID: '1000' - PGID: '1000' + PUID: '{{puid}}' + PGID: '{{pgid}}' UMASK: '000' VPN_ENABLED: 'no' VPN_USER: 'username' @@ -149,7 +151,7 @@ - name: Initialize opvn block: - name: Create opvn folder - shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OPVN\ files\ go\ here > && chown -R {{PUID}}:{{PGID}} /opt/appdata/{{pgrole}}/openvpn + shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OPVN\ files\ go\ here > && chown -R {{puid}}:{{pgid}} /opt/appdata/{{pgrole}}/openvpn when: not ovpncheck.stat.exists From 8fa8512c20e86861e9206d2b3187ed7269124e17 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 15:19:08 -0400 Subject: [PATCH 087/102] Fix typo --- apps/qbittorrent-vpn.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index 38f132d..bec102d 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -151,7 +151,7 @@ - name: Initialize opvn block: - name: Create opvn folder - shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OPVN\ files\ go\ here > && chown -R {{puid}}:{{pgid}} /opt/appdata/{{pgrole}}/openvpn + shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OPVN\ files\ go\ here && chown -R {{puid}}:{{pgid}} /opt/appdata/{{pgrole}}/openvpn when: not ovpncheck.stat.exists From fe9df6d4e23037195905379825f75161303cea76 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 17:46:13 -0400 Subject: [PATCH 088/102] Removed VPN Options as they could conflict with some configurations --- apps/qbittorrent-vpn.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index bec102d..5c4e955 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -65,7 +65,7 @@ VPN_USER: 'username' VPN_PASS: 'password' VPN_PROV: 'custom' - VPN_OPTIONS: '--inactive 3600 --ping 10 --ping-exit 60' + VPN_OPTIONS: '' STRICT_PORT_FORWARD: 'no' ENABLE_PRIVOXY: 'no' LAN_NETWORK: '127.20.0.0/16' @@ -151,7 +151,7 @@ - name: Initialize opvn block: - name: Create opvn folder - shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OPVN\ files\ go\ here && chown -R {{puid}}:{{pgid}} /opt/appdata/{{pgrole}}/openvpn + shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OVPN\ files\ go\ here && chown -R {{puid}}:{{pgid}} /opt/appdata/{{pgrole}}/openvpn when: not ovpncheck.stat.exists From ea04517bbe77e49c3231102ed0b51b7934bd10d0 Mon Sep 17 00:00:00 2001 From: timekills Date: Fri, 21 Jun 2019 01:45:22 +0430 Subject: [PATCH 089/102] Ported host (PGBlitz) rclone.conf to Docker container In RcloneBrowser's File:Preferences where it asks for the rclone.conf file, the host (PGBlitz's) directory containing rclone.conf is ported to the Docker container as Read Only. -Update the rclone.conf file through the File then Preferences setting in the GUI.Choose the rclone.conf file in the "host_rcloneconf_folder" directory. --- apps/rclonebrowser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/rclonebrowser.yml b/apps/rclonebrowser.yml index 876bff1..c9bb3aa 100644 --- a/apps/rclonebrowser.yml +++ b/apps/rclonebrowser.yml @@ -39,6 +39,7 @@ - '{{path.stdout}}:{{path.stdout}}' - '/mnt/unionfs:/unionfs:rw' - '/mnt:/mnt:rw' + - '/opt/appdata/plexguide:/host_rcloneconf_folder:ro' - '/etc/localtime:/etc/localtime:ro' - name: 'Setting PG ENV' From d4d6b9b338c8970e6a185b3646a3f605dbf1b679 Mon Sep 17 00:00:00 2001 From: timekills Date: Sat, 22 Jun 2019 17:54:44 +0430 Subject: [PATCH 090/102] Create ombiHDR.yml --- apps/ombiHDR.yml | 80 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 apps/ombiHDR.yml diff --git a/apps/ombiHDR.yml b/apps/ombiHDR.yml new file mode 100644 index 0000000..e9f87f5 --- /dev/null +++ b/apps/ombiHDR.yml @@ -0,0 +1,80 @@ +#!/bin/bash +# +# Title: OmbiHDR +# Author(s): Admin9705; timekills mod +# URL: https://pgblitz.com - http://github.pgblitz.com +# GNU: General Public License v3.0 +################################################################################ +--- +- hosts: localhost + gather_facts: false + tasks: + # FACTS ####################################################################### + + - name: 'Set Known Facts' + set_fact: + pgrole: 'ombiHDR' + intport: '3579' + extport: '3581' + image: 'linuxserver/ombi' + + # CORE (MANDATORY) ############################################################ + - name: 'Including cron job' + include_tasks: '/opt/coreapps/apps/_core.yml' + + # PRETASKS #################################################################### + - name: Check JSON exists + stat: + path: '/opt/appdata/{{pgrole}}/appsettings.json' + register: jsonfile + + - name: 'Download {{pgrole}} appsettings.json config file' + get_url: + url: https://raw.githubusercontent.com/tidusjar/Ombi/master/src/Ombi/appsettings.json + dest: /opt/appdata/{{pgrole}}/appsettings.json + owner: '1000' + group: '1000' + force: no + ignore_errors: True + when: jsonfile.stat.exists == False + + # LABELS ###################################################################### + - name: 'Adding Traefik' + set_fact: + pg_labels: + traefik.enable: 'true' + traefik.port: '{{intport}}' + traefik.frontend.auth.forward.address: '{{gauth}}' + traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}' + + - name: 'Setting PG Volumes' + set_fact: + pg_volumes: + - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}/appsettings.json:/opt/{{pgrole}}/appsettings.json' + + - 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 e468a44e042262766ec573a398519ed27e24851b Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sat, 22 Jun 2019 18:14:21 +0200 Subject: [PATCH 091/102] Update domoticz.yml --- apps/domoticz.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/domoticz.yml b/apps/domoticz.yml index 4054ac5..ee465ea 100644 --- a/apps/domoticz.yml +++ b/apps/domoticz.yml @@ -19,7 +19,6 @@ extport2: '6144' intport3: '1443/tcp' extport3: '1443' - image: 'linuxserver/domoticz:stable' # CORE (MANDATORY) ############################################################ @@ -47,7 +46,7 @@ PUID: '1000' PGID: '1000' TZ: '${TZ}' - + # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' docker_container: From 4d9823cdfe6b9fcb4745cfd9b5d30c76dc66a214 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sat, 22 Jun 2019 19:05:44 +0200 Subject: [PATCH 092/102] Update domoticz.yml Puah --- apps/domoticz.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/domoticz.yml b/apps/domoticz.yml index ee465ea..425176a 100644 --- a/apps/domoticz.yml +++ b/apps/domoticz.yml @@ -56,8 +56,7 @@ published_ports: - '{{ports.stdout}}{{extport}}:{{intport}}' - '{{ports.stdout}}{{extport2}}:{{intport2}}' - - '{{ports.stdout}}{{extport3}}:{{intport3}}' - - '{{ports.stdout}}{{extport4}}:{{intport4}}' + - '{{ports.stdout}}{{extport3}}:{{intport3}}'}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: unless-stopped From f139de00bbe466a2bab1b95488e253f514d17e1b Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Sat, 22 Jun 2019 19:55:22 +0200 Subject: [PATCH 093/102] Update domoticz.yml Push v3 --- apps/domoticz.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/domoticz.yml b/apps/domoticz.yml index 425176a..63ed8d3 100644 --- a/apps/domoticz.yml +++ b/apps/domoticz.yml @@ -56,7 +56,7 @@ published_ports: - '{{ports.stdout}}{{extport}}:{{intport}}' - '{{ports.stdout}}{{extport2}}:{{intport2}}' - - '{{ports.stdout}}{{extport3}}:{{intport3}}'}}' + - '{{ports.stdout}}{{extport3}}:{{intport3}}' volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: unless-stopped From 56db76fd5de7ce6da4efaa58a75f1bf351f433d5 Mon Sep 17 00:00:00 2001 From: LooseSeal2 Date: Sun, 23 Jun 2019 12:00:16 -0700 Subject: [PATCH 094/102] fix --- apps/_appsgen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/_appsgen.sh b/apps/_appsgen.sh index aa87c16..3f4754d 100644 --- a/apps/_appsgen.sh +++ b/apps/_appsgen.sh @@ -7,7 +7,7 @@ ################################################################################ # Generates App List -ls -la /opt/coreapps/apps/ | sed -e 's/.yml//g' \ +ls -la /opt/communityapps/apps/ | sed -e 's/.yml//g' \ | awk '{print $9}' | tail -n +4 > /var/plexguide/app.list ls -la /opt/mycontainers/ | sed -e 's/.yml//g' \ From 886ff9f1012a501ee03ab58105004edd0f1218d9 Mon Sep 17 00:00:00 2001 From: LooseSeal2 Date: Tue, 25 Jun 2019 19:04:03 -0700 Subject: [PATCH 095/102] fix --- apps/templates/broken/nzbthrottle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/templates/broken/nzbthrottle.yml b/apps/templates/broken/nzbthrottle.yml index ac56db7..550ecaf 100644 --- a/apps/templates/broken/nzbthrottle.yml +++ b/apps/templates/broken/nzbthrottle.yml @@ -21,7 +21,7 @@ - name: 'Including cron job' include_tasks: '/opt/communityapps/apps/_core.yml' - - name: 'Checking {{pgrole}}'s json existance' + - name: 'Checking {{pgrole}} for existing app data' stat: path: '/opt/communityapps/apps/templates/{{pgrole}}/config.json' register: jsoncheck From 06d3121aab49cebe965d19b8f01433dd2fd5c77e Mon Sep 17 00:00:00 2001 From: CasperNielsen <27451397+CasperNielsen@users.noreply.github.com> Date: Fri, 28 Jun 2019 11:10:38 +0200 Subject: [PATCH 096/102] Update deluge.yml Edited True values to true, Deluge 2.0 is case sensitive. --- apps/deluge.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/deluge.yml b/apps/deluge.yml index 7918f6e..1450fe4 100644 --- a/apps/deluge.yml +++ b/apps/deluge.yml @@ -134,14 +134,14 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"move_completed".*' - line: '"move_completed": True,' + line: '"move_completed": true,' state: present - name: Setting extractor folder lineinfile: path: '/opt/appdata/{{pgrole}}/plugins/extractor.conf' regexp: '"use_name_folder".*' - line: '"use_name_folder": True,' + line: '"use_name_folder": true,' state: present - name: Setting extractor @@ -165,7 +165,7 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"compact_allocation".*' - line: '"compact_allocation": True,' + line: '"compact_allocation": true,' state: present - name: set stop_seed_ratio @@ -186,14 +186,14 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"remove_seed_at_ratio".*' - line: '"remove_seed_at_ratio": True,' + line: '"remove_seed_at_ratio": true,' state: present - name: set enc_prefer_rc4 lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"enc_prefer_rc4".*' - line: '"enc_prefer_rc4": True,' + line: '"enc_prefer_rc4": true,' state: present - name: set enc_level @@ -228,7 +228,7 @@ lineinfile: path: '/opt/appdata/{{pgrole}}/core.conf' regexp: '"dont_count_slow_torrents".*' - line: '"dont_count_slow_torrents": True,' + line: '"dont_count_slow_torrents": true,' state: present - name: set max_active_seeding From be3f7eb3e275acd885f26745e7a26f7dbfbbe809 Mon Sep 17 00:00:00 2001 From: LooseSeal2 Date: Tue, 9 Jul 2019 23:17:52 -0700 Subject: [PATCH 097/102] shield fix --- apps/_appsgen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/_appsgen.sh b/apps/_appsgen.sh index 3f4754d..a0e5ccd 100644 --- a/apps/_appsgen.sh +++ b/apps/_appsgen.sh @@ -8,7 +8,7 @@ # Generates App List ls -la /opt/communityapps/apps/ | sed -e 's/.yml//g' \ -| awk '{print $9}' | tail -n +4 > /var/plexguide/app.list +| awk '{print $9}' | tail -n +4 >> /var/plexguide/app.list ls -la /opt/mycontainers/ | sed -e 's/.yml//g' \ | awk '{print $9}' | tail -n +4 >> /var/plexguide/app.list From 1eb59dc5ebfed5d0a01845ab3e44310701a7358c Mon Sep 17 00:00:00 2001 From: LooseSeal2 Date: Wed, 10 Jul 2019 12:26:42 -0700 Subject: [PATCH 098/102] fix --- apps/_cron.list | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/_cron.list b/apps/_cron.list index 51857fe..d7eff0f 100644 --- a/apps/_cron.list +++ b/apps/_cron.list @@ -4,3 +4,4 @@ netdata alltube dockergc blitzui +watchtower From 142817d166177f2821c5d8b578eb032bba32353c Mon Sep 17 00:00:00 2001 From: Ryan Fisher Date: Thu, 11 Jul 2019 09:44:32 -0500 Subject: [PATCH 099/102] Don't let the community appsgen.sh clobber the core, just append --- apps/_appsgen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/_appsgen.sh b/apps/_appsgen.sh index 3f4754d..a0e5ccd 100644 --- a/apps/_appsgen.sh +++ b/apps/_appsgen.sh @@ -8,7 +8,7 @@ # Generates App List ls -la /opt/communityapps/apps/ | sed -e 's/.yml//g' \ -| awk '{print $9}' | tail -n +4 > /var/plexguide/app.list +| awk '{print $9}' | tail -n +4 >> /var/plexguide/app.list ls -la /opt/mycontainers/ | sed -e 's/.yml//g' \ | awk '{print $9}' | tail -n +4 >> /var/plexguide/app.list From b392f73a1b5c90ef591bd871eab7d7cffc7ee73a Mon Sep 17 00:00:00 2001 From: LooseSeal2 Date: Thu, 11 Jul 2019 16:06:19 -0700 Subject: [PATCH 100/102] vpn volume fixes --- apps/qbittorrent-vpn.yml | 4 ++-- apps/rflood-vpn.yml | 8 +++----- apps/rutorrent-vpn.yml | 9 ++++----- apps/transmission-vpn.yml | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index 5c4e955..74d5c73 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -51,9 +51,9 @@ set_fact: pg_volumes: - '/etc/localtime:/etc/localtime:ro' - - '/opt/appdata/{{pgrole}}:/config' - '{{path.stdout}}:{{path.stdout}}' - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' - name: 'Setting PG ENV' set_fact: @@ -353,4 +353,4 @@ - name: Restart {{pgrole}} docker_container: name: '{{pgrole}}' - state: started \ No newline at end of file + state: started diff --git a/apps/rflood-vpn.yml b/apps/rflood-vpn.yml index 331cbe3..c5cd676 100644 --- a/apps/rflood-vpn.yml +++ b/apps/rflood-vpn.yml @@ -45,12 +45,10 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}:{{path.stdout}}' - - '/mnt/unionfs:/unionfs' - - '/mnt/downloads/{{pgrole}}:/output/complete' - - '/mnt/incomplete/{{pgrole}}:/output/incomplete' - '/etc/localtime:/etc/localtime:ro' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' - name: 'Setting PG ENV' set_fact: diff --git a/apps/rutorrent-vpn.yml b/apps/rutorrent-vpn.yml index 4824609..efc5406 100644 --- a/apps/rutorrent-vpn.yml +++ b/apps/rutorrent-vpn.yml @@ -45,12 +45,11 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}:{{path.stdout}}' - - '/mnt/unionfs:/unionfs' - - '/mnt/downloads/{{pgrole}}:/output/complete' - - '/mnt/incomplete/{{pgrole}}:/output/incomplete' - '/etc/localtime:/etc/localtime:ro' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' + - '/opt/appdata/{{pgrole}}/sock:/run/php' - name: 'Setting PG ENV' set_fact: diff --git a/apps/transmission-vpn.yml b/apps/transmission-vpn.yml index 0ff2e20..254e2c8 100644 --- a/apps/transmission-vpn.yml +++ b/apps/transmission-vpn.yml @@ -48,9 +48,9 @@ set_fact: pg_volumes: - '/etc/localtime:/etc/localtime:ro' - - '/opt/appdata/{{pgrole}}:/config' - '{{path.stdout}}:{{path.stdout}}' - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' - name: 'Setting {{pgrole2}} Volumes' set_fact: From 9e4c6bfd826af13f4559cbd104eff092740af02e Mon Sep 17 00:00:00 2001 From: LooseSeal2 Date: Thu, 11 Jul 2019 16:10:25 -0700 Subject: [PATCH 101/102] fixes --- apps/jd2-openvpn.yml | 9 ++++----- apps/jdownloader2.yml | 9 ++++----- apps/makemkv.yml | 8 ++++---- apps/nzbget-mp4.yml | 2 +- apps/ombi4k.yml | 2 +- apps/ombiHDR.yml | 2 +- apps/radarr4k.yml | 4 ++-- apps/radarrhdr.yml | 4 ++-- apps/sonarr4k.yml | 4 ++-- apps/sonarrhdr.yml | 4 ++-- apps/templates/broken/kodi-headless.yml | 5 +++-- apps/traktor.yml | 5 +++-- 12 files changed, 29 insertions(+), 29 deletions(-) diff --git a/apps/jd2-openvpn.yml b/apps/jd2-openvpn.yml index 9a0b600..26cf971 100644 --- a/apps/jd2-openvpn.yml +++ b/apps/jd2-openvpn.yml @@ -49,12 +49,11 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}:{{path.stdout}}' - - '/mnt/unionfs:/unionfs' - - '/mnt:/mnt' - - '{{path.stdout}}/downloads/{{pgrole}}/:/output:rw' - '/etc/localtime:/etc/localtime:ro' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' + - '{{path.stdout}}/downloads/{{pgrole}}/:/output:rw' - '/opt/appdata/{{pgrole}}/vpn:/vpn:rw' - name: 'Setting PG ENV' diff --git a/apps/jdownloader2.yml b/apps/jdownloader2.yml index b3e56b8..addee0d 100644 --- a/apps/jdownloader2.yml +++ b/apps/jdownloader2.yml @@ -49,12 +49,11 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}:{{path.stdout}}' - - '/mnt/unionfs:/unionfs' - - '/mnt:/mnt' - - '{{path.stdout}}/downloads/{{pgrole}}/:/output:rw' - '/etc/localtime:/etc/localtime:ro' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' + - '{{path.stdout}}/downloads/{{pgrole}}/:/output:rw' - name: 'Setting PG ENV' set_fact: diff --git a/apps/makemkv.yml b/apps/makemkv.yml index 70d4c8e..5171a58 100644 --- a/apps/makemkv.yml +++ b/apps/makemkv.yml @@ -36,11 +36,11 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}:{{path.stdout}}' - - '/mnt/unionfs:/unionfs' - - '{{path.stdout}}/downloads/{{pgrole}}/:/output:rw' - '/etc/localtime:/etc/localtime:ro' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' + - '{{path.stdout}}/downloads/{{pgrole}}/:/output:rw' - name: 'Setting PG ENV' set_fact: diff --git a/apps/nzbget-mp4.yml b/apps/nzbget-mp4.yml index 33a33ad..3303ba7 100644 --- a/apps/nzbget-mp4.yml +++ b/apps/nzbget-mp4.yml @@ -138,9 +138,9 @@ set_fact: pg_volumes: - '/etc/localtime:/etc/localtime:ro' - - '/opt/appdata/{{pgrole}}:/config' - '{{path.stdout}}:{{path.stdout}}' - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' - '/tmp:/tmp' - '/opt/appdata/{{pgrole}}/cont-init.d:/etc/cont-init.d' - '/opt/appdata/{{pgrole}}/services.d:/etc/services.d/nzbget' diff --git a/apps/ombi4k.yml b/apps/ombi4k.yml index 7674cc2..fcfd8f1 100644 --- a/apps/ombi4k.yml +++ b/apps/ombi4k.yml @@ -50,8 +50,8 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}:/config' - '/opt/appdata/{{pgrole}}/appsettings.json:/opt/{{pgrole}}/appsettings.json' - name: 'Setting PG ENV' diff --git a/apps/ombiHDR.yml b/apps/ombiHDR.yml index e9f87f5..61d0a23 100644 --- a/apps/ombiHDR.yml +++ b/apps/ombiHDR.yml @@ -50,8 +50,8 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}:/config' - '/opt/appdata/{{pgrole}}/appsettings.json:/opt/{{pgrole}}/appsettings.json' - name: 'Setting PG ENV' diff --git a/apps/radarr4k.yml b/apps/radarr4k.yml index 7c3a2cd..4437ba2 100644 --- a/apps/radarr4k.yml +++ b/apps/radarr4k.yml @@ -33,10 +33,10 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' - '{{path.stdout}}:{{path.stdout}}' - '/mnt:/mnt' - - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}:/config' - name: 'Setting PG ENV' set_fact: diff --git a/apps/radarrhdr.yml b/apps/radarrhdr.yml index 8c468d7..b9674b2 100644 --- a/apps/radarrhdr.yml +++ b/apps/radarrhdr.yml @@ -33,10 +33,10 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' - '{{path.stdout}}:{{path.stdout}}' - '/mnt:/mnt' - - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}:/config' - name: 'Setting PG ENV' set_fact: diff --git a/apps/sonarr4k.yml b/apps/sonarr4k.yml index fe4fbaf..f3aa995 100644 --- a/apps/sonarr4k.yml +++ b/apps/sonarr4k.yml @@ -34,10 +34,10 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' - '{{path.stdout}}:{{path.stdout}}' - '/mnt:/mnt' - - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}:/config' - name: 'Setting PG ENV' set_fact: diff --git a/apps/sonarrhdr.yml b/apps/sonarrhdr.yml index 3a80027..22699eb 100644 --- a/apps/sonarrhdr.yml +++ b/apps/sonarrhdr.yml @@ -34,10 +34,10 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' + - '/etc/localtime:/etc/localtime:ro' - '{{path.stdout}}:{{path.stdout}}' - '/mnt:/mnt' - - '/etc/localtime:/etc/localtime:ro' + - '/opt/appdata/{{pgrole}}:/config' - name: 'Setting PG ENV' set_fact: diff --git a/apps/templates/broken/kodi-headless.yml b/apps/templates/broken/kodi-headless.yml index 88ccc68..06e07b7 100644 --- a/apps/templates/broken/kodi-headless.yml +++ b/apps/templates/broken/kodi-headless.yml @@ -37,9 +37,10 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}/config:/config/.kodi:rw' - - '/mnt:/mnt:rw' - '/etc/localtime:/etc/localtime:ro' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}/config:/config/.kodi:rw' - name: 'Setting PG ENV' set_fact: diff --git a/apps/traktor.yml b/apps/traktor.yml index 4452565..56e0d67 100644 --- a/apps/traktor.yml +++ b/apps/traktor.yml @@ -34,9 +34,10 @@ - name: 'Setting PG Volumes' set_fact: pg_volumes: - - '/opt/appdata/{{pgrole}}:/config' - - '{{path.stdout}}:{{path.stdout}}' - '/etc/localtime:/etc/localtime:ro' + - '{{path.stdout}}:{{path.stdout}}' + - '/mnt:/mnt' + - '/opt/appdata/{{pgrole}}:/config' - '/opt/appdata/plex/database/Library/Application Support/Plex Media Server/Plug-in Support/Databases:/plex:ro' - name: 'Setting PG ENV' From 067ef0515b14c8d8a119a13d23c48c43a762b265 Mon Sep 17 00:00:00 2001 From: LooseSeal2 Date: Sat, 13 Jul 2019 19:15:40 -0700 Subject: [PATCH 102/102] not needed env --- apps/airsonic.yml | 1 - apps/domoticz.yml | 1 - apps/filebot.yml | 1 - apps/flextv.yml | 1 - apps/mediainfo.yml | 1 - apps/rclonebrowser.yml | 1 - apps/rdp-calibre.yml | 1 - apps/subsonic.yml | 3 +-- apps/templates/broken/kodi-headless.yml | 1 - apps/unifi.yml | 1 - apps/vnc-xfce.yml | 1 - 11 files changed, 1 insertion(+), 12 deletions(-) diff --git a/apps/airsonic.yml b/apps/airsonic.yml index 369bc0e..733afac 100644 --- a/apps/airsonic.yml +++ b/apps/airsonic.yml @@ -45,7 +45,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' diff --git a/apps/domoticz.yml b/apps/domoticz.yml index 63ed8d3..dc35552 100644 --- a/apps/domoticz.yml +++ b/apps/domoticz.yml @@ -45,7 +45,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' diff --git a/apps/filebot.yml b/apps/filebot.yml index 5fd6f77..7ba2310 100644 --- a/apps/filebot.yml +++ b/apps/filebot.yml @@ -45,7 +45,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' diff --git a/apps/flextv.yml b/apps/flextv.yml index 4c69656..ee73fbf 100644 --- a/apps/flextv.yml +++ b/apps/flextv.yml @@ -41,7 +41,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' diff --git a/apps/mediainfo.yml b/apps/mediainfo.yml index a989491..026f6b5 100644 --- a/apps/mediainfo.yml +++ b/apps/mediainfo.yml @@ -46,7 +46,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' diff --git a/apps/rclonebrowser.yml b/apps/rclonebrowser.yml index c9bb3aa..d8ad471 100644 --- a/apps/rclonebrowser.yml +++ b/apps/rclonebrowser.yml @@ -47,7 +47,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' diff --git a/apps/rdp-calibre.yml b/apps/rdp-calibre.yml index 8b5576d..41f6d98 100644 --- a/apps/rdp-calibre.yml +++ b/apps/rdp-calibre.yml @@ -47,7 +47,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' WIDTH: '1280' HEIGHT: '720' diff --git a/apps/subsonic.yml b/apps/subsonic.yml index bb68be9..b81db75 100644 --- a/apps/subsonic.yml +++ b/apps/subsonic.yml @@ -43,7 +43,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' @@ -61,4 +60,4 @@ aliases: - '{{pgrole}}' state: started - labels: '{{pg_labels}}' \ No newline at end of file + labels: '{{pg_labels}}' diff --git a/apps/templates/broken/kodi-headless.yml b/apps/templates/broken/kodi-headless.yml index 06e07b7..ff51a2e 100644 --- a/apps/templates/broken/kodi-headless.yml +++ b/apps/templates/broken/kodi-headless.yml @@ -47,7 +47,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' diff --git a/apps/unifi.yml b/apps/unifi.yml index ed6cef6..403107d 100644 --- a/apps/unifi.yml +++ b/apps/unifi.yml @@ -63,7 +63,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}' diff --git a/apps/vnc-xfce.yml b/apps/vnc-xfce.yml index 7ee217d..54b8739 100644 --- a/apps/vnc-xfce.yml +++ b/apps/vnc-xfce.yml @@ -44,7 +44,6 @@ pg_env: PUID: '1000' PGID: '1000' - TZ: '${TZ}' # MAIN DEPLOYMENT ############################################################# - name: 'Deploying {{pgrole}}'