diff --git a/apps/beets.yml b/apps/beets.yml
new file mode 100644
index 0000000..0503305
--- /dev/null
+++ b/apps/beets.yml
@@ -0,0 +1,108 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'beets'
+ intport: '8337'
+ extport: '8337'
+ image: 'linuxserver/beets'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ - name: 'Create {{pgrole}} directories'
+ file: 'path={{item}} state=directory mode=0775 owner=1000 group=1000'
+ with_items:
+ - '{{path.stdout}}/downloads/{{pgrole}}'
+ - '{{path.stdout}}/downloads/{{pgrole}}/music'
+ # 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'
+ - '{{path.stdout}}:{{path.stdout}}'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: ConfCheck
+ stat:
+ path: '/opt/appdata/{{pgrole}}/config.yaml'
+ register: confcheck
+
+ - name: 'Configuring {{pgrole}} for first time use'
+ block:
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: 'beets'
+ 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}}'
+
+ - name: Automatic Import
+ cron:
+ name: '{{pgrole}} Import'
+ user: 'root'
+ special_time: hourly
+ job: "s'"
+ state: present
+
+ - name: YAML Creation Hold
+ wait_for:
+ path: '/opt/appdata/{{pgrole}}/config.yaml'
+ state: present
+
+ - name: Container Stop
+ docker_container:
+ name: '{{pgrole}}'
+ state: stopped
+
+ - name: File Length Limit
+ lineinfile:
+ path: '/opt/appdata/{{pgrole}}/config.yaml'
+ line: 'max_filename_length: 255'
+ insertafter: per_disc*
+ state: present
+
+ - name: Contair Start
+ docker_container:
+ name: '{{pgrole}}'
+ state: started
+
+ when: not confcheck.stat.exists
diff --git a/apps/booksonic.yml b/apps/booksonic.yml
new file mode 100644
index 0000000..dbb0592
--- /dev/null
+++ b/apps/booksonic.yml
@@ -0,0 +1,66 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'booksonic'
+ intport: '4040'
+ extport: '4050'
+ image: 'linuxserver/booksonic'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_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'
+ - '{{path.stdout}}:{{path.stdout}}'
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/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}}'
diff --git a/apps/cadvisor.yml b/apps/cadvisor.yml
new file mode 100644
index 0000000..6233487
--- /dev/null
+++ b/apps/cadvisor.yml
@@ -0,0 +1,66 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'cadvisor'
+ intport: '8080'
+ extport: '8750'
+ image: 'google/cadvisor:latest'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/dev/disk/:/dev/disk:ro'
+ - '/var/lib/docker/:/var/lib/docker:ro'
+ - '/sys:/sys:ro'
+ - '/opt/appdata/{{pgrole}}:/scripts'
+ - '/var/run:/var/run:ro'
+ - '/:/rootfs:ro'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ published_ports:
+ - '{{ports.stdout}}{{extport}}:{{intport}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/ddclient.yml b/apps/ddclient.yml
new file mode 100644
index 0000000..81a6432
--- /dev/null
+++ b/apps/ddclient.yml
@@ -0,0 +1,57 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'ddclient'
+ intport: '0'
+ extport: '0'
+ image: 'linuxserver/ddclient'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.enable: 'false'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/opt/appdata/{{pgrole}}:/config'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ UID: 1000
+ GID: 1000
+ GIDLIST: '1000'
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/deezloaderremix.yml b/apps/deezloaderremix.yml
new file mode 100644
index 0000000..30719ea
--- /dev/null
+++ b/apps/deezloaderremix.yml
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# URL: https://plexguide.com - http://github.plexguide.com
+# GNU: General Public License v3.0
+################################################################################
+---
+- hosts: localhost
+ gather_facts: false
+ tasks:
+ # FACTS #######################################################################
+ - name: 'Creating Alternative Facts'
+ set_fact:
+ pgrole: 'deezloaderremix'
+ intport: '1730'
+ extport: '1730'
+ image: 'zachawii/deezloaderremix'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Always have a backup plan'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Navigating 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}}'
+ - '/etc/localtime:/etc/localtime:ro'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ published_ports:
+ - '{{ports.stdout}}{{extport}}:{{intport}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/duplicati.yml b/apps/duplicati.yml
new file mode 100644
index 0000000..bf751b7
--- /dev/null
+++ b/apps/duplicati.yml
@@ -0,0 +1,63 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'duplicati'
+ intport: '8200'
+ extport: '8200'
+ image: 'linuxserver/duplicati'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - /opt/appdata/{{pgrole}}
+ - /opt/appdata/{{pgrole}}/sync
+ - /:/source
+ - '/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}}'
diff --git a/apps/headphones.yml b/apps/headphones.yml
new file mode 100644
index 0000000..6dffcc5
--- /dev/null
+++ b/apps/headphones.yml
@@ -0,0 +1,63 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'headphones'
+ intport: '8181'
+ extport: '8281'
+ image: 'linuxserver/headphones'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/opt/appdata/pgrole:/config'
+ - '{{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}}'
diff --git a/apps/home-assistant.yml b/apps/home-assistant.yml
new file mode 100644
index 0000000..51c6639
--- /dev/null
+++ b/apps/home-assistant.yml
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'home-assistant'
+ intport: '8123'
+ extport: '8123'
+ image: 'homeassistant/home-assistant'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+ traefik.frontend.rule: 'Host:home.{{domain.stdout}},{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/opt/appdata/homeassistant:/config'
+
+ - 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}}'
diff --git a/apps/htpcmanager.yml b/apps/htpcmanager.yml
new file mode 100644
index 0000000..80f4ae8
--- /dev/null
+++ b/apps/htpcmanager.yml
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'htpcmanager'
+ intport: '8085'
+ extport: '8085'
+ image: 'linuxserver/htpcmanager'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_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/htpcmanager:/config'
+ - '/etc/localtime:/etc/localtime:ro'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ published_ports:
+ - '{{ports.stdout}}{{extport}}:{{intport}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/kitana.yml b/apps/kitana.yml
new file mode 100644
index 0000000..1bb60f4
--- /dev/null
+++ b/apps/kitana.yml
@@ -0,0 +1,63 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'kitana'
+ intport: '31337'
+ extport: '31337'
+ image: 'pannal/kitana'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/var/run/docker.sock:/var/run/docker.sock'
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/opt/appdata/{{pgrole}}:/data'
+
+ - 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}}'
diff --git a/apps/logarr.yml b/apps/logarr.yml
new file mode 100644
index 0000000..874e579
--- /dev/null
+++ b/apps/logarr.yml
@@ -0,0 +1,63 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'logarr'
+ intport: '80'
+ extport: '7555'
+ image: 'monitorr/logarr:develop'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt:/opt'
+ - '/opt/appdata/{{pgrole}}/logs:/var/log/logarrlogs'
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/opt/appdata/{{pgrole}}:/config'
+
+ - 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}}'
diff --git a/apps/monitorr.yml b/apps/monitorr.yml
new file mode 100644
index 0000000..30e96f1
--- /dev/null
+++ b/apps/monitorr.yml
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'monitorr'
+ intport: '80'
+ extport: '8099'
+ image: 'monitorr/monitorr'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}:/app'
+ - '/etc/localtime:/etc/localtime:ro'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ published_ports:
+ - '{{ports.stdout}}{{extport}}:{{intport}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/muximux.yml b/apps/muximux.yml
new file mode 100644
index 0000000..0d0a2ae
--- /dev/null
+++ b/apps/muximux.yml
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'muximux'
+ intport: '80'
+ extport: '8015'
+ image: 'linuxserver/muximux'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}:/config'
+ - '/etc/localtime:/etc/localtime:ro'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ published_ports:
+ - '{{ports.stdout}}{{extport}}:{{intport}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/nzbthrottle.yml b/apps/nzbthrottle.yml
new file mode 100644
index 0000000..e2b5042
--- /dev/null
+++ b/apps/nzbthrottle.yml
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'nzbthrottle'
+ intport: '0'
+ extport: '0'
+ image: 'daghaian/nzbthrottle'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ - name: Checking {{pgrole}}'s json existance
+ stat:
+ path: '/opt/plexguide/containers/templates/{{pgrole}}/config.json'
+ register: jsoncheck
+
+ - name: 'Copying file for {{pgrole}}'
+ copy:
+ src: /opt/plexguide/containers/templates/{{pgrole}}.json
+ dest: /opt/appdata/{{pgrole}}/{{pgrole}}json
+ directory_mode: yes
+ force: yes
+ owner: 1000
+ group: 1000
+ mode: 0755
+ when: not nzbthrottle.stat.exists
+
+ # 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.json:/{{pgrole}}/config.json:ro'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ published_ports:
+ - '{{ports.stdout}}{{extport}}:{{intport}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/organizr.yml b/apps/organizr.yml
new file mode 100644
index 0000000..a7c4e72
--- /dev/null
+++ b/apps/organizr.yml
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'organizr'
+ intport: '80'
+ extport: '8040'
+ image: 'organizrtools/organizr-v2'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}:/config'
+ - '/etc/localtime:/etc/localtime:ro'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ published_ports:
+ - '{{ports.stdout}}{{extport}}:{{intport}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/pyload.yml b/apps/pyload.yml
new file mode 100644
index 0000000..0d4f36c
--- /dev/null
+++ b/apps/pyload.yml
@@ -0,0 +1,67 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'pyload'
+ intport: '8000'
+ extport: '2938'
+ intport2: '7227'
+ extport2: '7227'
+ image: 'writl/pyload'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}:/opt/pyload/pyload-config'
+ - '{{path.stdout}}/{{pgrole}}:/opt/pyload/Downloads'
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/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}}'
+ - '{{ports.stdout}}{{extport2}}:{{intport2}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/resilio.yml b/apps/resilio.yml
new file mode 100644
index 0000000..5304876
--- /dev/null
+++ b/apps/resilio.yml
@@ -0,0 +1,83 @@
+#!/bin/bash
+#
+# GitHub: https://github.com/Admin9705/PlexGuide.com-The-Awesome-Plex-Server
+# Author: Admin9705
+# URL: https://plexguide.com
+#
+# PlexGuide Copyright (C) 2018 PlexGuide.com
+# Licensed under GNU General Public License v3.0 GPL-3 (in short)
+#
+# You may copy, distribute and modify the software as long as you track
+# changes/dates in source files. Any modifications to our software
+# including (via compiler) GPL-licensed code must also be made available
+# under the GPL along with build & install instructions.
+#
+###############################################################################
+---
+- hosts: localhost
+ gather_facts: false
+ tasks:
+ # FACTS #######################################################################
+ - name: 'Set Known Facts'
+ set_fact:
+ pgrole: 'resilio'
+ intport: '8888'
+ extport: '8888'
+ intport2: '55555'
+ extport2: '55555'
+ image: 'linuxserver/resilio-sync'
+
+ # EXTRAS FOR RESILIO ##########################################################
+ - name: 'Create {{pgrole}} script directories'
+ file: 'path={{item}} state=directory mode=0775 owner=1000 group=1000 recurse=yes'
+ with_items:
+ - '/opt/appdata/{{pgrole}}'
+ - '/opt/appdata/{{pgrole}}/config'
+ - '/opt/appdata/{{pgrole}}/sync'
+ - '/opt/appdata/{{pgrole}}/downloads'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}/config:/config'
+ - '/opt/appdata/{{pgrole}}/sync:/sync'
+ - '/opt/appdata/{{pgrole}}/downloads:/downloads'
+ - '/mnt:/mnt'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploy {{pgrole}} Container - OverRide'
+ 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}}'
diff --git a/apps/sharesite.yml b/apps/sharesite.yml
new file mode 100644
index 0000000..bcf00da
--- /dev/null
+++ b/apps/sharesite.yml
@@ -0,0 +1,77 @@
+#!/bin/bash
+#
+# GitHub: https://github.com/Admin9705/PlexGuide.com-The-Awesome-Plex-Server
+# Author: Admin9705
+# URL: https://plexguide.com
+#
+# PlexGuide Copyright (C) 2018 PlexGuide.com
+# Licensed under GNU General Public License v3.0 GPL-3 (in short)
+#
+# You may copy, distribute and modify the software as long as you track
+# changes/dates in source files. Any modifications to our software
+# including (via compiler) GPL-licensed code must also be made available
+# under the GPL along with build & install instructions.
+#
+###############################################################################
+---
+- hosts: localhost
+ gather_facts: false
+ tasks:
+ # FACTS #######################################################################
+
+ - name: 'Set Known Facts'
+ set_fact:
+ pgrole: 'sharesite'
+ intport: '80'
+ extport: '41080'
+ image: 'evanhoucke/jirafeau'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+ traefik.frontend.headers.customResponseHeaders: 'X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex'
+
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}/config:/config'
+ - '{{path.stdout}}:{{path.stdout}}'
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/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}}'
diff --git a/apps/synclounge.yml b/apps/synclounge.yml
new file mode 100644
index 0000000..182583b
--- /dev/null
+++ b/apps/synclounge.yml
@@ -0,0 +1,68 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'synclounge'
+ intport: '8088'
+ extport: '8088'
+ intport2: '8089'
+ extport2: '8089'
+ image: 'starbix/synclounge'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.enable: 'true'
+ traefik.web.frontend.redirect.entryPoint: 'https'
+ traefik.web.frontend.rule: 'Host:web.{{domain.stdout}},{{pgrole}}.{{domain.stdout}},{{tldset}}'
+ traefik.web.port: '{{intport}}'
+ traefik.server.frontend.redirect.entryPoint: 'https'
+ traefik.server.frontend.rule: 'Host:server.{{domain.stdout}}'
+ traefik.server.port: '{{intport2}}'
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}/config:/config'
+ - '/opt/appdata/{{pgrole}}/sync:/sync'
+
+ - 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}}'
diff --git a/apps/syncthing.yml b/apps/syncthing.yml
new file mode 100644
index 0000000..a171e00
--- /dev/null
+++ b/apps/syncthing.yml
@@ -0,0 +1,97 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'syncthing'
+ intport: '8384'
+ extport: '8384'
+ intport2: '22000'
+ extport2: '22000'
+ intport3: '21027'
+ extport3: '21027'
+ image: 'linuxserver/syncthing'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # EXTRA FOR RUTORRENT #########################################################
+ - name: 'Create {{pgrole}} script directories'
+ file: 'path={{item}} state=directory mode=0775 owner=1000 group=1000 recurse=yes'
+ with_items:
+ - '/opt/appdata/{{pgrole}}'
+ - '/opt/appdata/{{pgrole}}/sync'
+ - '/opt/appdata/{{pgrole}}/config'
+
+ # 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:/config'
+ - '/opt/appdata/{{pgrole}}/sync:/sync'
+ - '/mnt:/mnt'
+
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: xmlcheck
+ stat:
+ path: '/opt/appdata/{{pgrole}}/config/config.xml'
+ register: xmlcheck
+
+ - 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 RUTORRENT ####################################################
+ - name: 'Configuring {{pgrole}} for first time use'
+ block:
+ - name: 'Wait 10 Seconds'
+ wait_for:
+ timeout: 10
+
+ - name: Replace default sync path in config file
+ replace:
+ path: /opt/appdata/{{pgrole}}/config/config.xml
+ regexp: ~
+ replace: '/sync'
+
+ when: not xmlcheck.stat.exists
diff --git a/apps/thelounge.yml b/apps/thelounge.yml
new file mode 100644
index 0000000..c3cae87
--- /dev/null
+++ b/apps/thelounge.yml
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'thelounge'
+ intport: '9000'
+ extport: '9100'
+ image: 'linuxserver/thelounge'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}:/config'
+ - '/etc/localtime:/etc/localtime:ro'
+
+ - name: 'Setting PG ENV'
+ set_fact:
+ pg_env:
+ PUID: 1000
+ PGID: 1000
+
+ # MAIN DEPLOYMENT #############################################################
+ - name: 'Deploying {{pgrole}}'
+ docker_container:
+ name: '{{pgrole}}'
+ image: '{{image}}'
+ pull: yes
+ published_ports:
+ - '{{ports.stdout}}{{extport}}:{{intport}}'
+ volumes: '{{pg_volumes}}'
+ env: '{{pg_env}}'
+ restart_policy: unless-stopped
+ networks:
+ - name: plexguide
+ aliases:
+ - '{{pgrole}}'
+ state: started
+ labels: '{{pg_labels}}'
diff --git a/apps/ubooquity.yml b/apps/ubooquity.yml
new file mode 100644
index 0000000..af9e85f
--- /dev/null
+++ b/apps/ubooquity.yml
@@ -0,0 +1,64 @@
+#!/bin/bash
+#
+# Title: PlexGuide (Reference Title File)
+# Author(s): Admin9705
+# 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: 'ubooquity'
+ intport: '2202'
+ extport: '2202'
+ image: 'linuxserver/ubooquity'
+
+ # CORE (MANDATORY) ############################################################
+ - name: 'Including cron job'
+ include_tasks: '/opt/plexguide/containers/_core.yml'
+
+ # LABELS ######################################################################
+ - name: 'Adding Traefik'
+ set_fact:
+ pg_labels:
+ traefik.frontend.auth.forward.address: '{{gauth}}'
+ traefik.enable: 'true'
+ traefik.port: '{{intport}}'
+
+ traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
+
+ - name: 'Setting PG Volumes'
+ set_fact:
+ pg_volumes:
+ - '/opt/appdata/{{pgrole}}:/config'
+ - '{{path.stdout}}:{{path.stdout}}'
+ - '/etc/localtime:/etc/localtime:ro'
+ - '/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}}'