Ideas - What docker you want to add in community!! | PlexGuide.com

Ideas What docker you want to add in community!!

  • Thread starter MrDoob
  • Start date
  • Replies 166
  • Views 17K
  • 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
M

MrDoob

Guest
Original poster
@fr0sty

Bash:
#!/bin/bash
#
# Title:      PGBlitz (linuxserver/piwigo)
# 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: 'piwido'
        intport: '80'
        extport: '3347'        
        image: 'linuxserver/piwigo: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:/config'
          - '/var/run/docker.sock:/var/run/docker.sock: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}}'
edit done
 
Last edited by a moderator:
  • Like
Reactions: 1 user

Sejrup

Experienced
Jan 11, 2019
91
32
DokuWiki
YAML:
#!/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: 'dokuwiki'
        intport: '80'
        extport: '1212'
        intport2: '443'
        extport2: '1213'
        image: 'bitnami/dokuwiki: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.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}}:/bitnami'
          - '/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: always
        networks:
          - name: plexguide
            aliases:
              - '{{pgrole}}'
        state: started
        labels: '{{pg_labels}}'
 
Last edited by a moderator:
  • Like
Reactions: 1 user
M

MrDoob

Guest
Original poster
@Sejrup we must speak a little bit .. :p
i build it also ^^ and create an dockerhub repo for this one also ^^
 

fr0sty

Experienced
Staff
Donor
Jul 8, 2018
184
54
DokuWiki
YAML:
#!/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: 'dokuwiki'
        intport: '80'
        extport: '1212'
        intport2: '443'
        extport2: '1213'
        image: 'bitnami/dokuwiki:latest'

    # 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}}:/bitnami'
          - '/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: always
        networks:
          - name: plexguide
            aliases:
              - '{{pgrole}}'
        state: started
        labels: '{{pg_labels}}'

Works good. To login you need to;

sudo nano /opt/appdata/dokuwiki/dokuwiki/conf/users.auth.php

add line

admin:$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0:DokuWiki Administrator:[email protected]:admin,user

login as admin:admin and change password.
 
Last edited by a moderator:

fr0sty

Experienced
Staff
Donor
Jul 8, 2018
184
54
Bash:
#!/bin/bash
#
# Title:      PGBlitz (tomsquest/docker-radicale)
# 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: 'radicale'
        intport: '5232'
        extport: '5232'       
        image: 'tomsquest/docker-radicale'

    # CORE (MANDATORY) ############################################################
    - name: 'Including cron job'
      include_tasks: '/opt/communityapps/apps/_core.yml'

    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/opt/appdata/{{pgrole}}:/data:ro'
          - '/opt/appdata/{{pgrole}}:/config:ro'         
          - '{{path.stdout}}:{{path.stdout}}'
         
    - 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}}'
thats was not easy to build this one @fr0sty
This one failed. I get

fatal: [127.0.0.1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'pg_labels' is undefined\n\nThe error appears to have been in '/opt/communityapps/apps/radicale.yml': line 39, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n # MAIN DEPLOYMENT #############################################################\n - name: 'Deploying {{pgrole}}'\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n"}
to retry, use: --limit @/opt/communityapps/apps/radicale.retry
 

fr0sty

Experienced
Staff
Donor
Jul 8, 2018
184
54
Got same with the "piwido" one too.
The mailu is the holy grail. Thats what im really excited about. Thanks to both of you for your efforts!
 
  • Like
Reactions: 1 user
M

MrDoob

Guest
Original poster
I see the fail ..

Dammed ..

I edit this when I am back at home ..

Sorry @fr0sty
 
  • Like
Reactions: 1 user

bodgeup

Experienced
Staff
FreeLancer
Donor
Aug 12, 2018
92
32
An app i'd like to see: -
  • Name of docker : visibilityspots/cloudflared
  • dockerhub link :

Short info about the docker.

run the cloudflared proxy-dns on port 5054 using the DNS over HTTPS feature from cloudflare.

Why you want this ?

Ive been using DoT / DoH on my mobile running Android Pie using Cloudflares DNS but my Firewall doesnt have this feature just yet so i found this handy Docker container that would allow Docker to use DoH aswell as any other client on my LAN aswell so if i could get this as a PGBlitz app it would be icing on the cake for myself but im sure others could benifit from having DoH too.

There are other similar containers around that allow the use of DoT aswell as DoH and also can be configured to use other DNS resolvers but I use Cloudflare personally so for me this was perfect as it works out the box so would be easy to integrate into the PGBlitz ecosystem.

Anyway I hope i get to see this added,
 
  • Like
Reactions: 1 user
M

MrDoob

Guest
Original poster
//// be carefull ////

Bash:
#!/bin/bash
#
# Title:      PGBlitz (fauria/vsftpd)
# 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: 'vsftpd'
        intport: '20'
        extport: '20'
        intport2: '21'
        extport2: '55'
        intport3: '21100-21110'
        extport3: '21100-21110'
        image: 'fauria/vsftpd: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.port: '{{intport}}'
          traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},'

    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/opt/appdata/{{pgrole}}/:/etc/vsftpd/:rw'
          - '/mnt:/home/vsftpd:ro'
          - '/etc/localtime:/etc/localtime:ro'

    - name: 'Setting PG ENV'
      set_fact:
        pg_env:
          PUID: '1000'
          PGID: '1000'
          TZ: '${TZ}'
          XFERLOG_STD_FORMAT: 'YES'
          PASV_ADDRESS_ENABLE: 'YES'         
          PASV_ADDRESS: '127.0.0.1'
          PASV_MIN_PORT: '21100'
          PASV_MAX_PORT: '21110'
          PASV_ADDRESS_RESOLVE: '{{pgrole}}.{{domain.stdout}}'
          PASV_ADDRESS: '{{pgrole}}.{{domain.stdout}}'
          LOG_STDOUT: '/opt/appdata/{{pgrole}}/vsftpd/log/'
          FILE_OPEN_MODE: '0650'
          LOCAL_UMASK: '002'

    # MAIN DEPLOYMENT #############################################################
    - name: 'Deploying {{pgrole}}'
      docker_container:
        name: '{{pgrole}}'
        image: '{{image}}'
        pull: yes
        published_ports:
          - '{{ports.stdout}}{{extport}}:{{intport}}'
          - '{{extport2}}:{{intport2}}'
          - '{{extport3}}:{{intport3}}'
        volumes: '{{pg_volumes}}'
        env: '{{pg_env}}'
        restart_policy: always
        networks:
          - name: plexguide
            aliases:
              - '{{pgrole}}'
        state: started
        labels: '{{pg_labels}}'
THAT IS AN ALPHA VERSION !!!!!
 
Last edited by a moderator:
  • Like
Reactions: 1 user
M

MrDoob

Guest
Original poster
what program do u use to build the docker compose files
MrDoob?
just out of curiosity! These are a couple ive found https://composerize.com/ & https://github.com/kariae/composei might b a bit of help?
i use an hacked / recreated programm for automatik creating *.yml files or Dockerfiles

they curl the github or dockerhub link and create it.

with my custom variables

--pg_labels // pg_traefik lines / folder lines

so i dont must edit each *.yml per hand .. this programm made it for me all

but actuall the update is fuuuu .. i write the coder over *.onion actually an DM .
the lateste patch is / was fucked

maybe thats my fail , i dont restart the VM again ..now they made the most right
but i will try it before i push the yml files now.
 
M

MrDoob

Guest
Original poster
@fr0sty

are you sure ? thats the right path ??


sudo nano /opt/appdata/dokuwiki/dokuwiki/conf/users.auth.php

not ??

sudo nano /opt/appdata/dokuwiki/conf/users.auth.php


add line admin:$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0:DokuWiki Administrator:[email protected]:admin,user
login as admin:admin and change password.
 
M

MrDoob

Guest
Original poster
Bash:
#!/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: 'dokuwiki'
        intport: '80'
        extport: '1212'
        intport2: '443'
        extport2: '1213'
        image: 'bitnami/dokuwiki:latest'

    # CORE (MANDATORY) ############################################################
    - name: 'Including cron job'
      include_tasks: '/opt/coreapps/apps/_core.yml'
     
    - name: 'Copy /conf/users.auth.php basic file {{pgrole}}'
      copy:
        src: /opt/communityapps/apps/templates/{{pgrole}}/users.auth.php
        dest: /opt/appdata/{{pgrole}}/dokuwiki/conf/users.auth.php
        directory_mode: yes
        force: yes
        owner: 1000
        group: 1000
        mode: 0775

    # 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}}:/bitnami'
          - '/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: always
        networks:
          - name: plexguide
            aliases:
              - '{{pgrole}}'
        state: started
        labels: '{{pg_labels}}'
 
Last edited by a moderator:
  • Love
Reactions: 1 user

fr0sty

Experienced
Staff
Donor
Jul 8, 2018
184
54
@fr0sty

are you sure ? thats the right path ??


sudo nano /opt/appdata/dokuwiki/dokuwiki/conf/users.auth.php

not ??

sudo nano /opt/appdata/dokuwiki/conf/users.auth.php
@MrDoob Yes sir its correct.

ls -la on /opt/appdata/dokuwiki/

apache
dokuwiki
php
 

fr0sty

Experienced
Staff
Donor
Jul 8, 2018
184
54
@MrDoob the edited 'piwido' container installs nicely but cannot complete the installation because it needs a database?
 

fr0sty

Experienced
Staff
Donor
Jul 8, 2018
184
54
Wont start, portainer log:
ERROR: Invalid configuration: Failed to load config file '/config/config': No such file: '/config/config'

I guess i need to make the config. https://radicale.org/configuration/
A task for another day

//
 
Last edited by a moderator:

Recommend NewsGroups

      Up To a 58% Discount!