ComiXed | PlexGuide.com

ComiXed

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

axlrod

Active
Original poster
Jun 6, 2019
32
5
A robot friend of mine containerized ComiXed. The dockerhub repository is the 0.4.0 release. This assumes your comic files are in /mnt/unionfs/comics. Once I am sure things are ironed out I'll put it up in the community apps.

Code:
#!/bin/bash
#
# Title:      PGBlitz (comixed)
# Author(s):  Axlrod
# 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: 'comixed'
        intport: '7171'
        extport: '7171'
        image: 'pidockmedia/comixed'

    # 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.port: '{{intport}}'
          traefik.frontend.auth.forward.address: '{{gauth}}'
          traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
          
    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/mnt/unionfs/comics:/comic_dir'
          - '/opt/appdata/{{pgrole}}/config:/root/.comixed'
          - '/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}}'

##PG-Community

##PG-Communit
Post automatically merged:

Just a heads up, I am working with the comixed admin to get images moved over to an official docket repository. This still works but it will certainly change in the near future.
Post automatically merged:

That robot did it, and it should load from the official repository. If you have some comic files laying around that you want to test it would be nice if someone other than me and the robot test it before release:

Code:
#!/bin/bash
#
# Title:      PGBlitz (comixed)
# Author(s):  Axlrod
# 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: 'comixed'
        intport: '7171'
        extport: '7171'
        image: 'mcpierce/comixed'

    # 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.port: '{{intport}}'
          traefik.frontend.auth.forward.address: '{{gauth}}'
          traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
          
    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/mnt/sto/T/comics:/comic_dir'
          - '/mnt:/mnt'
          - '/opt/appdata/{{pgrole}}/config:/root/.comixed'
          - '/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}}'

##PG-Community

##PG-Community
Post automatically merged:

If anyone is interested the Robot has started dropping the 0.5.0 prerelease versions. This one works better and is now the official repository.

Code:
#!/bin/bash
#
# Title:      PGBlitz (comixed)
# Author(s):  Axlrod
# 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: 'comixed'
        intport: '7171'
        extport: '7171'
        image: 'comixed/comixed'

    # 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.port: '{{intport}}'
          traefik.frontend.auth.forward.address: '{{gauth}}'
          traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
          
    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/mnt/unionfs/comics:/comic_dir'
          - '/mnt:/mnt'
          - '/opt/appdata/{{pgrole}}/config:/root/.comixed'
          - '/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}}'

##PG-Community

##PG-Community
 
Last edited:

Recommend NewsGroups

      Up To a 58% Discount!

Trending